{"id":"CVE-2019-10156","published":"2019-07-30T22:12:30Z","modified":"2024-08-04T22:10:09Z","title":"A flaw was discovered in the way Ansible templating was implemented in versions before 2.6.18, 2.7.12 and 2.8.2…","vendor":"Red Hat","product":"ansible","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01774,"percentile":0.78099,"provenance":"source"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ansible/ansible/pull/57188","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00016.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3744","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3789","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/01/msg00023.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.debian.org/security/2021/dsa-4950","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":18.8,"factors":[{"name":"EPSS percentile","points":15.62},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":"Red Hat","product":"ansible","versions":["fixed in 2.6.18","fixed in 2.7.12","fixed in 2.8.2"]}],"affected":[{"ecosystem":"PyPI","package":"ansible","vulnerableRanges":["<2.6.18",">=2.7.0a1, <2.7.12",">=2.8.0a1, <2.8.2",">=2.7.0, <2.7.12",">=2.8.0, <2.8.2"],"patched":["2.6.18","2.7.12","2.8.2"],"from":["GHSA-grgm-pph5-j5h7","PYSEC-2019-2"],"provenance":"source"}],"euvd":{"id":"EUVD-2019-0006","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-unknown-ansible-cve-2016-9587","parents":[{"from":"CVE-2017-7466","to":"CVE-2019-10156","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/ansible/template/__init__.py"],"commits":["https://github.com/ansible/ansible/commit/0d418789a298561fded9bce977d34babc9097079","https://github.com/ansible/ansible/commit/7ff9fa52cfcef2065f0db80d85dd94b9b754839c","https://github.com/ansible/ansible/commit/04e94274fb92e116e9082cc9b86b1fd05c836922","https://github.com/ansible/ansible/commit/3ff6505e8ff0e4655bab008886983476ef903375"],"basis":"shared function","functions":["template"]}]}],"packageHistory":[{"cve":"CVE-2018-16876","published":"2019-01-03","fixed":"2.7.5","kev":false},{"cve":"CVE-2019-3828","published":"2019-03-27","fixed":"2.7.8","kev":false,"link":{"from":"CVE-2019-3828","to":"CVE-2019-10156","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.6.14","toFixed":"2.6.18","daysApart":125}]}},{"cve":"CVE-2018-16859","published":"2018-11-29","fixed":"2.8.1","kev":false,"link":{"from":"CVE-2018-16859","to":"CVE-2019-10156","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.8.1","toFixed":"2.8.2","daysApart":243}]}},{"cve":"CVE-2019-10156","published":"2019-07-30","fixed":"2.8.2","kev":false},{"cve":"CVE-2019-10206","published":"2019-11-22","fixed":"2.8.4","kev":false,"link":{"from":"CVE-2019-10156","to":"CVE-2019-10206","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.8.2","toFixed":"2.8.4","daysApart":115}]}},{"cve":"CVE-2019-10217","published":"2019-11-25","fixed":"2.8.4","kev":false,"link":{"from":"CVE-2019-10156","to":"CVE-2019-10217","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:ansible","fromFixed":"2.8.2","toFixed":"2.8.4","daysApart":118}]}},{"cve":"CVE-2019-14846","published":"2019-10-08","fixed":"2.8.6","kev":false}],"package":"PyPI:ansible"}}