Skip to content
Noroxi
CVE-2018-10855· NVD / CVE Program· CNA redhat

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks.

Ansible 2.5 prior to 2.5.5, and 2.4 prior to 2.4.5, do not honor the no_log task flag for failed tasks. When the no_log flag has been used to protect sensitive data passed to a task from being logged, and that task does not run successfully, Ansible will expose sensitive data in log files and on the terminal of the user running Ansible.

MediumCVSS 5.9 · v3.1—No exploit Fix available
Published
Jul 2, 2018
Updated
Jun 16, 2026
EPSS
3.1% · 87th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 3.1%

CNA vs NVD score

NVD
5.9
CNA · redhat
5.9
agree

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
redhatansible engine
redhatcloudforms
redhatopenstack
redhatvirtualization
debiandebian linux
canonicalubuntu linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux16.04
  • canonical ubuntu linux18.04
  • canonical ubuntu linux19.04
  • debian debian linux9.0
  • redhat ansible engineafter 2.5 · up to 2.5.5 inclusive
  • redhat ansible engine2.4 and later · before 2.4.5
  • redhat ansible engine2.0
  • redhat cloudforms4.6
  • redhat openstack10
  • redhat openstack12
  • redhat openstack13
  • redhat virtualization4.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • [UNKNOWN] ansible

    • Ansible 2.4.5, Ansible 2.5.5affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.7ansiblebefore 2.4.6.0-r02.4.6.0-r0
Debian:12ansiblebefore 2.5.5+dfsg-12.5.5+dfsg-1
Debian:9ansiblebefore 2.2.1.0-2+deb9u12.2.1.0-2+deb9u1
openSUSE:Tumbleweedansible-10before 10.6.0-1.110.6.0-1.1
openSUSE:Tumbleweedansible-11before 11.11.0-1.111.11.0-1.1
openSUSE:Tumbleweedansible-12before 12.2.0-1.112.2.0-1.1
openSUSE:Tumbleweedansible-13before 13.7.0-1.113.7.0-1.1
openSUSE:Tumbleweedansible-9before 9.8.0-1.19.8.0-1.1
PyPIansiblefrom 2.4 · before 2.4.5.02.4.5.0
PyPIansiblefrom 2.4.0.0 · before 2.4.5.02.4.5.0
PyPIansiblefrom 2.5 · before 2.5.52.5.5
PyPIansiblefrom 2.5.0a1 · before 2.5.52.5.5
Red Hat:ansible_engine:2::el7ansiblebefore 0:2.5.5-1.el7ae0:2.5.5-1.el7ae
Red Hat:ansible_engine:2::el7ansible-docbefore 0:2.5.5-1.el7ae0:2.5.5-1.el7ae
Red Hat:ansible_engine:2.4::el7ansiblebefore 0:2.4.5.0-1.el7ae0:2.4.5.0-1.el7ae
Red Hat:ansible_engine:2.4::el7ansible-docbefore 0:2.4.5.0-1.el7ae0:2.4.5.0-1.el7ae
Red Hat:cloudforms_managementengine:5.9::el7ansible-towerbefore 0:3.2.5-1.el7at0:3.2.5-1.el7at
Red Hat:cloudforms_managementengine:5.9::el7ansible-tower-serverbefore 0:3.2.5-1.el7at0:3.2.5-1.el7at
Red Hat:cloudforms_managementengine:5.9::el7ansible-tower-setupbefore 0:3.2.5-1.el7at0:3.2.5-1.el7at
Red Hat:cloudforms_managementengine:5.9::el7ansible-tower-uibefore 0:3.2.5-1.el7at0:3.2.5-1.el7at
Red Hat:cloudforms_managementengine:5.9::el7ansible-tower-venv-ansiblebefore 0:3.2.5-1.el7at0:3.2.5-1.el7at
Red Hat:cloudforms_managementengine:5.9::el7ansible-tower-venv-towerbefore 0:3.2.5-1.el7at0:3.2.5-1.el7at
Red Hat:cloudforms_managementengine:5.9::el7cfmebefore 0:5.9.3.4-1.el7cf0:5.9.3.4-1.el7cf
Red Hat:cloudforms_managementengine:5.9::el7cfme-amazon-smartstatebefore 0:5.9.3.4-1.el7cf0:5.9.3.4-1.el7cf

+18

Other highest-scoring records for the same primary product.

  • CVE-2021-20228A flaw was found in the Ansible Engine 2.9.18, where sensitive info is not masked by default and is not protected by the no_log feature when
    31Monitor
  • CVE-2020-1737A flaw was found in Ansible 2.7.17 and prior, 2.8.9 and prior, and 2.9.6 and prior when using the Extract-Zip function from the win_unzip mo
    31Monitor
  • CVE-2019-14846In Ansible, all Ansible Engine versions up to ansible-engine 2.8.5, ansible-engine 2.7.13, ansible-engine 2.6.19, were logging at the DEBUG
    31Monitor
  • CVE-2018-16837Ansible "User" module leaks any data which is passed on as a parameter to ssh-keygen.
    31Monitor
  • CVE-2018-10875A flaw was found in ansible.
    31Monitor
  • CVE-2018-10874In ansible it was found that inventory variables are loaded from current working directory when running ad-hoc command which are under attac
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:ansible2.4.6.0-r0 · Alpine:v3.7Package registry (OSV)
debian:ansible2.5.5+dfsg-1 · Debian:12Package registry (OSV)
opensuse:ansible-1010.6.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-1111.11.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-1212.2.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-1313.7.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:ansible-99.8.0-1.1 · openSUSE:TumbleweedPackage registry (OSV)
PyPI:ansible2.4.5.0Package registry (OSV)
PyPI:ansible2.5.5Package registry (OSV)
red hat:ansible0:2.4.6.0-1.el7ae · Red Hat:openstack:12::el7Package registry (OSV)
red hat:ansible-doc0:2.5.5-1.el7ae · Red Hat:ansible_engine:2::el7Package registry (OSV)
red hat:ansible-role-redhat-subscription0:1.0.1-4.el7ost · Red Hat:openstack:12::el7Package registry (OSV)
red hat:ansible-tower0:3.2.5-1.el7at · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:ansible-tower-server0:3.2.5-1.el7at · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:ansible-tower-setup0:3.2.5-1.el7at · Red Hat:cloudforms_managementengine:5.9::el7Package registry (OSV)
red hat:imgbased0:1.0.20-0.1.el7ev · Red Hat:enterprise_linux:7::hypervisorPackage registry (OSV)
red hat:python-imgbased0:1.0.20-0.1.el7ev · Red Hat:enterprise_linux:7::hypervisorPackage registry (OSV)
red hat:redhat-release-virtualization-host0:4.2-4.3.el7 · Red Hat:enterprise_linux:7::hypervisorPackage registry (OSV)
red hat:redhat-virtualization-host0:4.2-20180622.0.el7_5 · Red Hat:enterprise_linux:7::hypervisorPackage registry (OSV)
red hat:redhat-virtualization-host-image-update0:4.2-20180622.0.el7_5 · Red Hat:enterprise_linux:7::hypervisorPackage registry (OSV)
red hat:redhat-virtualization-host-image-update-placeholder0:4.2-4.3.el7 · Red Hat:enterprise_linux:7::hypervisorPackage registry (OSV)
suse:ansible2.4.6.0-3.3.1 · SUSE:HPE Helion OpenStack 8Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

ATT&CK techniques

—

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records