MediumGHSA-j667-c2hm-f2wpCVE-2020-14332PYSEC-2020-4
Insertion of Sensitive Information into Log File and Improper Output Neutralization for Logs in ansible
Published 9 Feb 2022 · Updated 5 Sept 2024
Is your project on an affected ansible?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
ansiblePyPI
- Affected
- <2.8.14
- Fixed in
- 2.8.14
Update to the fixed version for your release line, for example:
pip install 'ansible>=2.8.14'ansiblePyPI
- Affected
- >=2.9.0a1 <2.9.12
- Fixed in
- 2.9.12
Update to the fixed version for your release line, for example:
pip install 'ansible>=2.9.12'ansiblePyPI
- Affected
- >=2.10.0a1 <2.10.1rc2
- Fixed in
- 2.10.1rc2
Update to the fixed version for your release line, for example:
pip install 'ansible>=2.10.1rc2'Details
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.
Is GHSA-j667-c2hm-f2wp in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected ansible, and gives you the command that fixes it.
More advisories for ansible
- MediumCVE-2025-14010Ansible Community General Collection is vulnerable to exposure of sensitive information · 4 Dec 2025
- MediumCVE-2020-25635Ansible does not collect garbage after playbook run · 31 Oct 2025
- MediumCVE-2023-5115Ansible symlink attack vulnerability · 28 Dec 2023
- HighCVE-2022-3697Ansible leaks password to logs · 28 Oct 2022
- HighCVE-2021-20228Ansible Exposes Sensitive Information · 25 May 2022
- CriticalCVE-2014-4678Ansible Code Injection Vulnerability · 24 May 2022
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-14332
- Linkgithub.com/ansible/ansible/pull/71033
- Linkgithub.com/ansible/ansible/commit/291f94934c8c49eef85e6539087f2dfcd001fe4f
- Linkgithub.com/ansible/ansible/commit/6cae9a4b168df776bf82deb04b2c62e00c38b49a
- Linkgithub.com/ansible/ansible/commit/714cd2ad2eff7f003d728414afcb91591fad5d9a
- Linkbugzilla.redhat.com/show_bug.cgi?id=CVE-2020-14332
- Advisorygithub.com/advisories/GHSA-j667-c2hm-f2wp
- Packagegithub.com/ansible/ansible
- Linkgithub.com/ansible/ansible/blob/stable-2.10/changelogs/CHANGELOG-v2.10.rst#security-fixes-3
- Linkgithub.com/ansible/ansible/blob/stable-2.8/changelogs/CHANGELOG-v2.8.rst#security-fixes-4
- Linkgithub.com/ansible/ansible/blob/stable-2.9/changelogs/CHANGELOG-v2.9.rst#security-fixes-6
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2020-4.yaml
- Linkwww.debian.org/security/2021/dsa-4950
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.