CVE-2018-10855
Ansible exposes sensitive data in log files and on the terminal
Reported by redhat · Published July 2, 2018
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| ansible | Ubuntu:18.04:LTS | 2.5.1+dfsg-1ubuntu0.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| [UNKNOWN] | ansible | Ansible 2.4.5, Ansible 2.5.5 |
| [UNKNOWN] | ansible | 2.4.5, 2.5.5 |
| PyPI | ansible | 2.5.0a1, 2.4.0.0 |
| alpine | ansible | 0 |
Timeline
- Jun 19, 2018 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 6, 2026 Distribution Patch (9 in total, the first dated here)
- Mar 6, 2026 Security Advisory (14 in total, the first dated here)
- Sep 26, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-10855
vulnetix vdb fixes CVE-2018-10855
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-10855/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- RHSA-2018:1949 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- RHBA-2018:3788 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:1948 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2184 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2022 vendor-advisoryx_refsource_REDHAT
- RHSA-2019:0054 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2079 vendor-advisoryx_refsource_REDHAT
- RHSA-2018:2585 vendor-advisoryx_refsource_REDHAT
- DSA-4396 vendor-advisoryx_refsource_DEBIAN
- USN-4072-1 vendor-advisoryx_refsource_UBUNTU
- https://nvd.nist.gov/vuln/detail/CVE-2018-10855 advisory
- https://github.com/advisories/GHSA-jwcc-j78w-j73w advisory
- https://github.com/ansible/ansible url
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml advisory
- https://usn.ubuntu.com/4072-1 url