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

CVE-2019-14858: Ansible leaks sensitive information to logs when told not to

May 24, 2022 (updated September 10, 2024)

A vulnerability was found in Ansible engine 2.x up to 2.8 and Ansible tower 3.x up to 3.5. When a module has an argument_spec with sub parameters marked as no_log, passing an invalid parameter name to the module will cause the task to fail before the no_log options in the sub parameters are processed. As a result, data in the sub parameter fields will not be masked and will be displayed if Ansible is run with increased verbosity and present in the module invocation arguments for the task.

References

  • access.redhat.com/errata/RHSA-2019:3201
  • access.redhat.com/errata/RHSA-2019:3202
  • access.redhat.com/errata/RHSA-2019:3203
  • access.redhat.com/errata/RHSA-2019:3207
  • access.redhat.com/errata/RHSA-2020:0756
  • bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14858
  • github.com/advisories/GHSA-h653-95qw-h2mp
  • github.com/ansible/ansible
  • github.com/ansible/ansible/commit/0fd656e9964a91f2e8b1e9bbf78c74661ab9d37b
  • github.com/ansible/ansible/commit/3dfb8e81bb5f776a6b00c7a90dd087e85b71f8bb
  • github.com/ansible/ansible/commit/87f8d77d70476454f7fe2381bd363a329ce4266c
  • github.com/ansible/ansible/commit/f610ed3a4eb87eb557200606279796921fa9b722
  • github.com/ansible/ansible/pull/63405
  • github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-171.yaml
  • nvd.nist.gov/vuln/detail/CVE-2019-14858

Code Behaviors & Features

Detect and mitigate CVE-2019-14858 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.9.0a1 before 2.9.0rc4, all versions starting from 2.8.0a1 before 2.8.6, all versions starting from 2.7.0a1 before 2.7.14, all versions starting from 2.0 before 2.6.20

Fixed versions

  • 2.9.0rc4
  • 2.8.6
  • 2.7.14
  • 2.6.20

Solution

Upgrade to versions 2.6.20, 2.7.14, 2.8.6, 2.9.0rc4 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/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-2019-14858.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:16 +0000.