Medium severity · published Mar 11, 2020
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
5.0
CVSS
0.4%
EPSS
No
On KEV
Description
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'.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 34% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
Ansible · Redhat
through 2.7.16; 2.8.0 before 2.8.8; 2.9.0 through 2.9.5 · source: NVD
AT
Ansible Tower · Redhat
through 3.3.4; 3.3.5 through 3.4.5; 3.5.0 through 3.5.5; 3.6.0 through 3.6.3 · source: NVD
CM
Cloudforms Management Engine · Redhat
5.0 · source: NVD
DL
Debian Linux · Debian
8.0; 10.0 · source: NVD
FE
Fedora · Fedoraproject
30; 31; 32 · source: NVD
OP
Openstack · Redhat
13 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2020-1733
CVE.org
https://www.cve.org/CVERecord?id=CVE-2020-1733
Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733
Exploit
https://github.com/ansible/ansible/issues/67791
Mailing List
https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
lists.fedoraproject.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
