Vulnerability in Debian Linux
CVE-2020-1733
A race condition flaw was found in Ansible Engine 2.7.17 and prior, 2.8.9 and prior, 2.9.6 and prior when running a playbook with an unprivileged become user. When Ansible needs to run a module with become user, the temporary directory is created in /var/tmp. This directory is created with "umask 77 && mkdir -p <dir>"; this operation does not fail if the directory already exists and is owned by another user. An attacker could take advantage to gain control of the become user as the target directory can be retrieved by iterating '/proc/<pid>/cmdline'.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.004, 34.8th 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.17 and prior, 2.8.9 and prior, 2.9.6 and prior
- 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 4 other repositories (ARPSyndicate/cvemon, Live-Hack-CVE/CVE-2020-10744, 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/67791 (Exploit, Third Party Advisory)
- 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)