CVE-2020-1740

Name
CVE-2020-1740
Description
A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740
Third Party Advisory https://github.com/ansible/ansible/issues/67798
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
MLIST https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html
GENTOO https://security.gentoo.org/glsa/202006-11
DEBIAN https://www.debian.org/security/2021/dsa-4950

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* ansible >= None <= 2.7.16
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* ansible >= 2.8.0 <= 2.8.8
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* ansible >= 2.9.0 <= 2.9.5
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* ansible_tower >= None <= 3.3.4
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* ansible_tower >= 3.3.5 <= 3.4.5
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* ansible_tower >= 3.5.0 <= 3.5.5
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* ansible_tower >= 3.6.0 <= 3.6.3
cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:* cloudforms_management_engine == None == 5.0
cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:* openstack == None == 13.0
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:* openstack == None == 13
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* ansible >= None < 2.7.17
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* ansible >= 2.8.0 < 2.8.11
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* ansible >= 2.9.0 < 2.9.7

Vulnerable and fixed packages

Source package Branch Version Maintainer Status