{"id":"CVE-2018-10855","published":"2018-07-02T18:00:00Z","modified":"2024-08-05T07:46:47Z","title":"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","vendor":null,"product":"ansible","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0304,"percentile":0.87836,"provenance":"source"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:1949","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/errata/RHBA-2018:3788","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:1948","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2184","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2022","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:0054","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2079","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2585","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.debian.org/security/2019/dsa-4396","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/4072-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]}],"priority":{"score":21.7,"factors":[{"name":"EPSS percentile","points":17.57},{"name":"CVSS severity","points":4.13}]},"affectedVersions":[{"vendor":"[UNKNOWN]","product":"ansible","versions":["Ansible 2.4.5","Ansible 2.5.5"]}],"affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":[">=2.5.0a1, <2.5.5",">=2.4.0.0, <2.4.5.0",">=2.5, <2.5.5",">=2.4, <2.4.5.0"],"patched":["2.5.5","2.4.5.0"],"from":["GHSA-jwcc-j78w-j73w","PYSEC-2018-42"],"provenance":"source"}],"summary":{"text":"The flaw is in Ansible's handling of the no_log task flag: versions 2.5 before 2.5.5 and 2.4 before 2.4.5 fail to suppress output for tasks that did not complete successfully. An attacker who can read Ansible's log files or the terminal output of the user running it can obtain sensitive data that was meant to be hidden, and exploitation requires only that such a task fails, with no authentication or user interaction needed, though the attacker must have the access to read those logs.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:01Z"},"euvd":{"id":"EUVD-2018-0015","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2017-7466","published":"2018-06-22","fixed":"2.3.0.0","kev":false},{"cve":"CVE-2017-7481","published":"2018-07-19","fixed":"2.4.0.0","kev":false},{"cve":"CVE-2017-7550","published":"2017-11-21","fixed":"2.4.1.0","kev":false,"link":{"from":"CVE-2017-7550","to":"CVE-2018-10855","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.4.1.0","toFixed":"2.4.5.0","daysApart":223}]}},{"cve":"CVE-2018-10855","published":"2018-07-02","fixed":"2.5.5","kev":false},{"cve":"CVE-2018-10874","published":"2018-07-02","fixed":"2.6.1","kev":false,"link":{"from":"CVE-2018-10855","to":"CVE-2018-10874","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.4.5.0","toFixed":"2.4.6.0","daysApart":0}]}},{"cve":"CVE-2018-10875","published":"2018-07-13","fixed":"2.6.1","kev":false,"link":{"from":"CVE-2018-10855","to":"CVE-2018-10875","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.4.5.0","toFixed":"2.4.6.0","daysApart":11}]}},{"cve":"CVE-2018-16837","published":"2018-10-23","fixed":"2.7.1","kev":false}],"package":"PyPI:ansible"}}