CVE-2020-1733

ansible: 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 p...

CVE-2020-1733 is fixed in ansible on 1 platform, first by ansible 2.5.1+dfsg-1ubuntu0.1+esm1, released September 22, 2021. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
n/a
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0040
34th 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 <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'.

Where it's fixed

ProductFixed inFixReleased
Linux
ansible · Ubuntu 18.04.6 LTS (bionic) 2.5.1+dfsg-1ubuntu0.1+esm1 ansible 2.5.1+dfsg-1ubuntu0.1+esm1 Sep 22, 2021
ansible · Ubuntu 20.04 LTS (focal) 2.9.6+dfsg-1ubuntu0.1~esm1 ansible 2.9.6+dfsg-1ubuntu0.1~esm1 Mar 3, 2022

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.