CVE-2018-10855
MEDIUM 5.9CVSS 3.1Ansible exposes sensitive data in log files and on the terminal
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.
- Published
- 3 Jul 2018
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-532
- Also known as
- GHSA-jwcc-j78w-j73wPYSEC-2018-42
- Sources
- NVDJSONOSV GHSA-jwcc-j78w-j73wJSONOSV PYSEC-2018-42JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
>= 2.4, < 2.4.5 | 2.4.5 |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:*:*:*:*:*:*:*:* |
> 2.5, <= 2.5.5 | |
| NVD | redhat | ansible_enginecpe:2.3:a:redhat:ansible_engine:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | redhat | cloudformscpe:2.3:a:redhat:cloudforms:4.6:*:*:*:*:*:*:* |
= 4.6 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* |
= 13 | |
| NVD | redhat | virtualizationcpe:2.3:a:redhat:virtualization:4.0:*:*:*:*:*:*:* |
= 4.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:10:*:*:*:*:*:*:* |
= 10 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:12:*:*:*:*:*:*:* |
= 12 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* |
= 19.04 | |
| OSV | PyPI | ansible | >= 2.5.0a1, < 2.5.5 | 2.5.5 |
| OSV | PyPI | ansible | >= 2.4.0.0, < 2.4.5.0 | 2.4.5.0 |
| OSV | PyPI | ansible | >= 2.5, < 2.5.5; >= 2.4, < 2.4.5.0 | 2.5.5, 2.4.5.0 |
References
- https://access.redhat.com/errata/RHBA-2018:3788 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:1948 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:1949 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:2022 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:2079 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:2184 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2018:2585 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2019:0054 · Vendor Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://usn.ubuntu.com/4072-1/ · Third Party Advisory, WEB
- https://www.debian.org/security/2019/dsa-4396 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2018-10855 · ADVISORY
- https://github.com/advisories/GHSA-jwcc-j78w-j73w · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 3 Jul 2018)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 3 Jul 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Oct 2018)