cbcvebase.
CVE-2020-1733
published 2020-03-11

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…

PriorityP422medium5CVSS 3.1
AVLACHPRLUIRSCCLILAL
EPSS
0.40%
33.4th percentile
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 "; 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//cmdline'.

Affected

51 ranges· showing 25
VendorProductVersion rangeFixed in
debianansible< ansible 2.9.7+dfsg-1 (bookworm)ansible 2.9.7+dfsg-1 (bookworm)
debianansible< ansible 2.9.13+dfsg-1 (bookworm)ansible 2.9.13+dfsg-1 (bookworm)
debiandebian_linux——
debiandebian_linux——
fedoraprojectfedora——
fedoraprojectfedora——
fedoraprojectfedora——
msrccbl_mariner_1.0_arm——
msrccbl_mariner_1.0_x64——
msrccm1_ansible_2.9.18-1_on_cbl_mariner_1.0——
red_hatansible——
red_hatansible——
red_hatansible——
red_hatansible——
red_hatansible——
red_hatansible——
red_hatansible——
red_hatansible——
red_hatansible——
redhatansible<= 2.7.16—
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1
redhatansible>= 0 < 2.9.13+dfsg-12.9.13+dfsg-1
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1
redhatansible>= 0 < 2.9.13+dfsg-12.9.13+dfsg-1
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1

CVSS provenance

nvdv3.15.0MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
nvdv2.03.7LOWAV:L/AC:H/Au:N/C:P/I:P/A:P
ghsa5.0MEDIUM
osv5.0MEDIUM
vendor_redhat7.8HIGH
vendor_debian5.0MEDIUM
vendor_msrc5.0MEDIUM
vendor_ubuntu5.0MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.