CVE-2019-10156
published 2019-07-30CVE-2019-10156: 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…
PriorityP430medium5.4CVSS 3.1
AVNACLPRLUINSUCLILAN
EPSS
1.76%
75.6th percentile
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.
Affected
20 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ansible | < ansible 2.8.3+dfsg-1 (bookworm) | ansible 2.8.3+dfsg-1 (bookworm) |
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| redhat | ansible | < 2.6.18 | 2.6.18 |
| redhat | ansible | >= 0 < 2.8.3+dfsg-1 | 2.8.3+dfsg-1 |
| redhat | ansible | >= 0 < 2.8.3+dfsg-1 | 2.8.3+dfsg-1 |
| redhat | ansible | >= 0 < 2.8.3+dfsg-1 | 2.8.3+dfsg-1 |
| redhat | ansible | >= 0 < 2.8.3+dfsg-1 | 2.8.3+dfsg-1 |
| redhat | ansible | >= 0 < 2.6.18 | 2.6.18 |
| redhat | ansible | >= 0 < 2.0.0.2-2ubuntu1.3 | 2.0.0.2-2ubuntu1.3 |
| redhat | ansible | >= 0 < 2.5.1+dfsg-1ubuntu0.1 | 2.5.1+dfsg-1ubuntu0.1 |
| redhat | ansible | >= 2.7.0 < 2.7.12 | 2.7.12 |
| redhat | ansible | >= 2.7.0a1 < 2.7.12 | 2.7.12 |
| redhat | ansible | >= 2.8.0 < 2.8.2 | 2.8.2 |
| redhat | ansible | >= 2.8.0a1 < 2.8.2 | 2.8.2 |
| redhat | openstack | — | — |
| redhat | openstack | — | — |
CVSS provenance
nvdv3.15.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
nvdv3.04.6MEDIUMCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
nvdv2.05.5MEDIUMAV:N/AC:L/Au:S/C:P/I:P/A:N
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian5.4LOW
vendor_redhat5.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Exposure of Sensitive Information to an Unauthorized Actor in ansible
ghsa·2019-07-31
CVE-2019-10156 [MEDIUM] CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in ansible
Exposure 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.
OSV
Exposure of Sensitive Information to an Unauthorized Actor in ansible
osv·2019-07-31
CVE-2019-10156 [MEDIUM] Exposure of Sensitive Information to an Unauthorized Actor in ansible
Exposure 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.
OSV
CVE-2019-10156: A flaw was discovered in the way Ansible templating was implemented in versions before 2
osv·2019-07-30·CVSS 5.4
CVE-2019-10156 [MEDIUM] CVE-2019-10156: A flaw was discovered in the way Ansible templating was implemented in versions before 2
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.
OSV
ansible vulnerabilities
osv·2019-07-24·CVSS 9.8
CVE-2017-7481 [CRITICAL] ansible vulnerabilities
ansible vulnerabilities
It was discovered that Ansible failed to properly handle sensitive information.
A local attacker could use those vulnerabilities to extract them.
(CVE-2017-7481)
(CVE-2018-10855)
(CVE-2018-16837)
(CVE-2018-16876)
(CVE-2019-10156)
It was discovered that Ansible could load configuration files from the current
working directory containing crafted commands. An attacker could run arbitrary
code as result.
(CVE-2018-10874)
(CVE-2018-10875)
It was discovered that Ansible fetch module had a path traversal vulnerability.
A local attacker could copy and overwrite files outside of the specified
destination.
(CVE-2019-3828)
Ubuntu
Ansible vulnerabilities
vendor_ubuntu·2019-07-24·CVSS 9.8
CVE-2017-7481 [CRITICAL] Ansible vulnerabilities
Title: Ansible vulnerabilities
Summary: Several security issues were fixed in Ansible.
It was discovered that Ansible failed to properly handle sensitive information.
A local attacker could use those vulnerabilities to extract them.
(CVE-2017-7481)
(CVE-2018-10855)
(CVE-2018-16837)
(CVE-2018-16876)
(CVE-2019-10156)
It was discovered that Ansible could load configuration files from the current
working directory containing crafted commands. An attacker could run arbitrary
code as result.
(CVE-2018-10874)
(CVE-2018-10875)
It was discovered that Ansible fetch module had a path traversal vulnerability.
A local attacker could copy and overwrite files outside of the specified
destination.
(CVE-2019-3828)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ansible: unsafe template evaluation of returned module data can lead to information disclosure
vendor_redhat·2019-06-04·CVSS 5.4
CVE-2019-10156 [MEDIUM] CWE-200 ansible: unsafe template evaluation of returned module data can lead to information disclosure
ansible: unsafe template evaluation of returned module data can lead to information disclosure
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.
A flaw was discovered in the way Ansible templating was implemented, 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.
Package: ansible (CloudForms Management Engine 5) - Out of support scope
Package: ansible (Red Hat Ansible Tower 3) - Affected
Pac
Debian
CVE-2019-10156: ansible - A flaw was discovered in the way Ansible templating was implemented in versions ...
vendor_debian·2019·CVSS 5.4
CVE-2019-10156 [MEDIUM] CVE-2019-10156: ansible - A flaw was discovered in the way Ansible templating was implemented in versions ...
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.
Scope: local
bookworm: resolved (fixed in 2.8.3+dfsg-1)
bullseye: resolved (fixed in 2.8.3+dfsg-1)
forky: resolved (fixed in 2.8.3+dfsg-1)
sid: resolved (fixed in 2.8.3+dfsg-1)
trixie: resolved (fixed in 2.8.3+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure [epel-all]
bugzilla·2019-06-05·CVSS 5.4
CVE-2019-10156 [MEDIUM] CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure [epel-all]
CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure [epel-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of epel-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this
Bugzilla
CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure [fedora-all]
bugzilla·2019-06-05·CVSS 5.4
CVE-2019-10156 [MEDIUM] CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure [fedora-all]
CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: t
Bugzilla
CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure
bugzilla·2019-06-05·CVSS 5.4
CVE-2019-10156 [MEDIUM] CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure
CVE-2019-10156 ansible: unsafe template evaluation of returned module data can lead to information disclosure
[ansible_password] in the ~/.ssh/authorized_keys file is repalced by administrator's password on remote node by templating.
Upstream pull:
https://github.com/ansible/ansible/pull/57188
Discussion:
Created ansible tracking bugs for this issue:
Affects: epel-all [bug 1717312]
Affects: fedora-all [bug 1717313]
---
Acknowledgments:
Name: Ichiko Sakamoto (Solution Innovators)
---
Updated title
---
Gluster uses Ansible package from Ansible repository hence marked as WONTFIX and it will consume fixes from core Ansible.
Refer:
https://url.corp.redhat.com/prerequisites
https://url.corp.redhat.com/gdeploy-support-install-ansible
For Ceph we still maintain Ansible atleast for Ub
https://access.redhat.com/errata/RHSA-2019:3744https://access.redhat.com/errata/RHSA-2019:3789https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156https://github.com/ansible/ansible/pull/57188https://lists.debian.org/debian-lts-announce/2019/09/msg00016.htmlhttps://lists.debian.org/debian-lts-announce/2021/01/msg00023.htmlhttps://www.debian.org/security/2021/dsa-4950https://access.redhat.com/errata/RHSA-2019:3744https://access.redhat.com/errata/RHSA-2019:3789https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10156https://github.com/ansible/ansible/pull/57188https://lists.debian.org/debian-lts-announce/2019/09/msg00016.htmlhttps://lists.debian.org/debian-lts-announce/2021/01/msg00023.htmlhttps://www.debian.org/security/2021/dsa-4950
2019-07-30
Published