CVE-2019-10156
MEDIUM 5.4CVSS 3.1Exposure of Sensitive Information to an Unauthorized Actor in ansible
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.
- Published
- 30 Jul 2019
- Last modified
- 17 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-200
- Also known as
- GHSA-grgm-pph5-j5h7PYSEC-2019-2
- Sources
- NVDJSONOSV GHSA-grgm-pph5-j5h7JSONOSV PYSEC-2019-2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | secalert@redhat.com (Secondary) | CVSS 3.0 | MEDIUM 4.6 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
< 2.6.18 | 2.6.18 |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.7.0, < 2.7.12 | 2.7.12 |
| NVD | redhat | ansiblecpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* |
>= 2.8.0, < 2.8.2 | 2.8.2 |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* |
= 13 | |
| NVD | redhat | openstackcpe:2.3:a:redhat:openstack:14:*:*:*:*:*:*:* |
= 14 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 | |
| OSV | PyPI | ansible | < 2.6.18 | 2.6.18 |
| OSV | PyPI | ansible | >= 2.7.0a1, < 2.7.12 | 2.7.12 |
| OSV | PyPI | ansible | >= 2.8.0a1, < 2.8.2 | 2.8.2 |
| OSV | PyPI | ansible | < 2.6.18; >= 2.7.0, < 2.7.12; >= 2.8.0, < 2.8.2 | 2.6.18, 2.7.12, 2.8.2 |
References
- https://access.redhat.com/errata/RHSA-2019:3744 · Vendor Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2019:3789 · Vendor Advisory, WEB, ADVISORY
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156 · Issue Tracking, Vendor Advisory, WEB, REPORT
- https://github.com/ansible/ansible/pull/57188 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html · Vendor Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html · Mailing List, Third Party Advisory, WEB
- https://www.debian.org/security/2021/dsa-4950 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-10156 · ADVISORY
- https://github.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922 · WEB
- https://github.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375 · WEB
- https://github.com/ansible/ansible/commit/a11c3edfa41e7e4a4db323cdabfc2eae1b61da2a · WEB
- https://github.com/advisories/GHSA-grgm-pph5-j5h7 · ADVISORY
- https://github.com/ansible/ansible · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/ansible/PYSEC-2019-2.yaml · WEB
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 30 Jul 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 30 Jul 2019)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Jul 2019)