CVE-2020-1733

MEDIUM
5
CVSS Score
Published: March 11, 2020 at 06:47 PM UTC
Updated: June 17, 2026 at 03:02 AM UTC
6 products affected across 3 vendorsDebian LinuxFedoraOpenStack

Using Ansible by Red Hat?

Get instant alerts when new vulnerabilities affect Ansible - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5
Exploit prediction
EPSS 0.4%

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'.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≤ 2.7.16v ≤ 2.7.17v ≤ 2.8.9v ≤ 2.9.62.8.0 ≤ v < 2.8.82.9.0 ≤ v ≤ 2.9.5
Affected range stops below 2.8.8, so it looks safe — our inference, not a vendor statement
v ≤ 3.3.43.3.5 ≤ v ≤ 3.4.53.5.0 ≤ v ≤ 3.5.53.6.0 ≤ v ≤ 3.6.3

CVSS

5MEDIUMredhat
Attack Vector
LOCAL
Complexity
HIGH
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-377CWE-362

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card