Exposure of Sensitive Information to an Unauthorized Actor in ansible
Published 31 Jul 2019 · Updated 4 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
- Affected
- <2.6.18
- Fixed in
- 2.6.18
pip install 'ansible>=2.6.18'- Affected
- >=2.7.0a1 <2.7.12
- Fixed in
- 2.7.12
pip install 'ansible>=2.7.12'- Affected
- >=2.8.0a1 <2.8.2
- Fixed in
- 2.8.2
pip install 'ansible>=2.8.2'Details
A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2, causing the possibility of information disclosure through unexpected variable substitution. By taking advantage of unintended variable substitution the content of any variable may be disclosed.
Is GHSA-grgm-pph5-j5h7 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-2019-10156
- Linkgithub.com/ansible/ansible/pull/57188
- Linkgithub.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922
- Linkgithub.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375
- Linkgithub.com/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a
- Linkaccess.redhat.com/errata/RHSA-2019:3744
- Linkaccess.redhat.com/errata/RHSA-2019:3789
- Linkbugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156
- Advisorygithub.com/advisories/GHSA-grgm-pph5-j5h7
- Packagegithub.com/ansible/ansible
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml
- Linklists.debian.org/debian-lts-announce/2019/09/msg00016.html
- Linklists.debian.org/debian-lts-announce/2021/01/msg00023.html
- Linkwww.debian.org/security/2021/dsa-4950
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.