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…

medium5CVSS 3.1
AVLACHPRLUIRSCCLILAL
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
ghsa5.0MEDIUM
osv5.0MEDIUM