CVE-2020-1746
published 2020-05-12CVE-2020-1746: A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible…
PriorityP423medium5CVSS 3.1
AVLACLPRLUIRSUCHINAN
EPSS
0.41%
32.8th percentile
A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ansible | < ansible 2.9.7+dfsg-1 (bookworm) | ansible 2.9.7+dfsg-1 (bookworm) |
| debian | debian_linux | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| red_hat | ansible | — | — |
| redhat | ansible | >= 0 < 2.9.7+dfsg-1 | 2.9.7+dfsg-1 |
| redhat | ansible | >= 0 < 2.9.7+dfsg-1 | 2.9.7+dfsg-1 |
| redhat | ansible | >= 0 < 2.9.7+dfsg-1 | 2.9.7+dfsg-1 |
| redhat | ansible | >= 0 < 2.9.7+dfsg-1 | 2.9.7+dfsg-1 |
| redhat | ansible | >= 2.7.0a1 < 2.7.17 | 2.7.17 |
| redhat | ansible | >= 2.8.0a1 < 2.8.11 | 2.8.11 |
| redhat | ansible | >= 2.9.0a1 < 2.9.7 | 2.9.7 |
| redhat | ansible_engine | >= 2.7.0 < 2.7.17 | 2.7.17 |
| redhat | ansible_engine | >= 2.8.0 < 2.8.11 | 2.8.11 |
| redhat | ansible_engine | >= 2.9.0 < 2.9.7 | 2.9.7 |
| redhat | ansible_tower | 3.4.0 – 3.4.5 | — |
| redhat | ansible_tower | 3.5.0 – 3.5.5 | — |
| redhat | ansible_tower | 3.6.0 – 3.6.3 | — |
CVSS provenance
nvdv3.15.0MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
nvdv2.01.9LOWAV:L/AC:M/Au:N/C:P/I:N/A:N
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
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·2021-04-20
CVE-2020-1746 [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 found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the `bind_pw` in the parameters field. The highest threat from this vulnerability is data confidentiality.
OSV
Exposure of Sensitive Information to an Unauthorized Actor in ansible
osv·2021-04-20
CVE-2020-1746 [MEDIUM] Exposure of Sensitive Information to an Unauthorized Actor in ansible
Exposure of Sensitive Information to an Unauthorized Actor in ansible
A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the `bind_pw` in the parameters field. The highest threat from this vulnerability is data confidentiality.
OSV
CVE-2020-1746: A flaw was found in the Ansible Engine affecting Ansible Engine versions 2
osv·2020-05-12·CVSS 5.0
CVE-2020-1746 [MEDIUM] CVE-2020-1746: A flaw was found in the Ansible Engine affecting Ansible Engine versions 2
A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.
Red Hat
ansible: Information disclosure issue in ldap_attr and ldap_entry modules
vendor_redhat·2020-02-28·CVSS 5.0
CVE-2020-1746 [MEDIUM] CWE-200 ansible: Information disclosure issue in ldap_attr and ldap_entry modules
ansible: Information disclosure issue in ldap_attr and ldap_entry modules
A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.
A flaw was found in the Ansible Engine when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters
Debian
CVE-2020-1746: ansible - A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x b...
vendor_debian·2020·CVSS 5.0
CVE-2020-1746 [MEDIUM] CVE-2020-1746: ansible - A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x b...
A flaw was found in the Ansible Engine affecting Ansible Engine versions 2.7.x before 2.7.17 and 2.8.x before 2.8.11 and 2.9.x before 2.9.7 as well as Ansible Tower before and including versions 3.4.5 and 3.5.5 and 3.6.3 when the ldap_attr and ldap_entry community modules are used. The issue discloses the LDAP bind password to stdout or a log file if a playbook task is written using the bind_pw in the parameters field. The highest threat from this vulnerability is data confidentiality.
Scope: local
bookworm: resolved (fixed in 2.9.7+dfsg-1)
bullseye: resolved (fixed in 2.9.7+dfsg-1)
forky: resolved (fixed in 2.9.7+dfsg-1)
sid: resolved (fixed in 2.9.7+dfsg-1)
trixie: resolved (fixed in 2.9.7+dfsg-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [fedora-all]
bugzilla·2020-02-28·CVSS 5.0
CVE-2020-1746 [MEDIUM] CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [fedora-all]
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [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: this issue affects mult
Bugzilla
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [openstack-rdo]
bugzilla·2020-02-28·CVSS 5.0
CVE-2020-1746 [MEDIUM] CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [openstack-rdo]
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [openstack-rdo]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of openstack-rdo.
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.
Discussion:
Fixed by u
Bugzilla
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [epel-all]
bugzilla·2020-02-28·CVSS 5.0
CVE-2020-1746 [MEDIUM] CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [epel-all]
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules [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 issue affects multiple
Bugzilla
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules
bugzilla·2020-02-20·CVSS 5.0
CVE-2020-1746 [MEDIUM] CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules
CVE-2020-1746 ansible: Information disclosure issue in ldap_attr and ldap_entry modules
A flaw was found in ldap_attr and ldap_entry community modules for Ansbile. This issue discloses the LDAP bind password to stdout or a log file if
a playbook task is written using the bind_pw in the parameters field since nothing in the params field is evaluated for sensitive data.
Discussion:
Created ansible tracking bugs for this issue:
Affects: epel-all [bug 1808472]
Affects: fedora-all [bug 1808471]
Affects: openstack-rdo [bug 1808470]
---
Upstream fix: https://github.com/ansible/ansible/pull/67866
---
A workaround was posted by felixfontein. Playbooks can be rewritten like this:
# Set the following variable somewhere:
# ldap_auth:
# server_uri: ldap://localhost/
# bind_dn: cn=admin,dc=exam
2020-05-12
Published