Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible
A flaw was found in the Ansible Engine when using module_args. Tasks executed with check mode (--check-mode) do not properly neutralize sensitive data exposed in the event data. This flaw allows unauthorized users to read this data. The highest threat from this vulnerability is to confidentiality.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | ansible | < 2.8.14, >= 2.9.0a1, < 2.9.12, >= 2.10.0a1, < 2.10.1rc2 | 2.8.14, 2.9.12, 2.10.1rc2 |
References
- https://github.com/ansible/ansible/pull/71033
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332
- https://github.com/advisories/GHSA-j667-c2hm-f2wp
- https://nvd.nist.gov/vuln/detail/CVE-2020-14332
- https://github.com/ansible/ansible/commit/291f94934c8c49eef85e6539087f2dfcd001fe4f
- https://github.com/ansible/ansible/commit/6cae9a4b168df776bf82deb04b2c62e00c38b49a
- https://github.com/ansible/ansible/commit/714cd2ad2eff7f003d728414afcb91591fad5d9a
- https://github.com/ansible/ansible
- https://github.com/ansible/ansible/blob/stable-2.10/changelogs/CHANGELOG-v2.10.rst#security-fixes-3
- https://github.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#security-fixes-4
- https://github.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-6
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-4.yaml
- https://www.debian.org/security/2021/dsa-4950
- CVSS vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-117, CWE-532- Platform
- Python (PyPI)
- Package
ansible- Disclosed
- 11.09.2020
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2020-4 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-j667-c2hm-f2wp - CC BY 4.0
Vulnerability history: ansible
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 68
- First → latest
- 09.2013 12.2025
- Without a fix
- 2
- Exploited in attacks
- 0
Severity breakdown
- Critical 9
- High 24
- Medium 27
- Low 6
- Unrated 2
Disclosures per year
- 2017: 3
- 2018: 12
- 2019: 8
- 2020: 29
- 2021: 7
- 2022: 3
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 0
earlier: 4
-
Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.