Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. ansible
  4. ›
  5. CVE-2018-10855

CVE-2018-10855: Ansible exposes sensitive data in log files and on the terminal

October 10, 2018 (updated November 18, 2024)

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.

References

  • access.redhat.com/errata/RHBA-2018:3788
  • access.redhat.com/errata/RHSA-2018:1948
  • access.redhat.com/errata/RHSA-2018:1949
  • access.redhat.com/errata/RHSA-2018:2022
  • access.redhat.com/errata/RHSA-2018:2079
  • access.redhat.com/errata/RHSA-2018:2184
  • access.redhat.com/errata/RHSA-2018:2585
  • access.redhat.com/errata/RHSA-2019:0054
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-10855
  • github.com/advisories/GHSA-jwcc-j78w-j73w
  • github.com/ansible/ansible
  • github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2018-42.yaml
  • nvd.nist.gov/vuln/detail/CVE-2018-10855
  • usn.ubuntu.com/4072-1
  • www.debian.org/security/2019/dsa-4396

Code Behaviors & Features

Detect and mitigate CVE-2018-10855 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.5.0a1 before 2.5.5, all versions starting from 2.4.0.0 before 2.4.5.0

Fixed versions

  • 2.5.5
  • 2.4.5.0

Solution

Upgrade to versions 2.4.5.0, 2.5.5 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-532: Insertion of Sensitive Information into Log File

Source file

pypi/ansible/CVE-2018-10855.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:43 +0000.