Information disclosure in Ansible and Ansible Tower - CVE-2020-1746

 

Information disclosure in Ansible and Ansible Tower - CVE-2020-1746

Published: July 7, 2020


Vulnerability identifier: #VU29566
CSH Severity: Low
CVSS v4: 2 [CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-1746
CWE-ID: CWE-200
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to gain access to potentially sensitive information.

The vulnerability exists due to Ansible 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. A local user can gain unauthorized access to sensitive information on the system.

Successful exploitation of vulnerability requires that the ldap_attr and ldap_entry community modules are used.


Affected software

Ansible
Ansible Tower
Red Hat Ansible Engine
ansible (Debian package)
ansible (Alpine package)
ansible
ansible (Red Hat package)
Fedora

How to mitigate CVE-2020-1746

Install updates from vendor's website.

Ansible - addressed in versions 2.7.17, 2.8.11, 2.9.7, 2.7.17-1.el7ae, 2.8.11-1.el7ae, 2.8.11-1.el8ae, 2.9.7-1.el7ae, 2.9.7-1.el8ae
Ansible Tower - addressed in versions 3.5.6, 3.6.4
ansible (Debian package) - update to 2.7.7+dfsg-1+deb10u1
ansible (Alpine package) - update to 2.7.17-r0
ansible - addressed in versions 2.9.7-1.el7, 2.9.7-1.el8, 2.9.7-1.fc30, 2.9.7-1.fc31, 2.9.7-1.fc32
ansible (Red Hat package) - addressed in versions 2.9.7-1.el7ae, 2.9.7-1.el8ae

External References

Related Security Bulletins