Information disclosure in Debian Linux
CVE-2020-1740
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.9 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.004, 29.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Debian Linux — versions 8.0, 10.0
- Fedoraproject Fedora — versions 30, 31, 32
- Red Hat Ansible — versions 2.7.x, 2.8.x, 2.9.x
- Red Hat Ansible
- Red Hat Ansible Tower
- Red Hat Cloudforms Management Engine — versions 5.0
- Red Hat OpenStack — versions 13
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (n0-traces/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking, Vendor Advisory)
- github.com/ansible/ansible/issues/67798 (Third Party Advisory, Issue Tracking)
- FEDORA-2020-1b6ce91e37 (vendor-advisory)
- FEDORA-2020-3990f03ba3 (vendor-advisory)
- FEDORA-2020-f80154b5b4 (vendor-advisory)
- [debian-lts-announce] 20200505 [SECURITY] [DLA 2202-1] ansible security update (mailing-list, Mailing List, Third Party Advisory)
- GLSA-202006-11 (vendor-advisory, Third Party Advisory)
- DSA-4950 (vendor-advisory, Third Party Advisory)