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.
Overview
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'.
- Published
- 3/11/2020
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
ansible redhat | ≤ 2.7.16 | Verify advisory | Source |
ansible redhat | ≥ 2.8.0, < 2.8.8 | Verify advisory | Source |
ansible redhat | ≥ 2.9.0, ≤ 2.9.5 | Verify advisory | Source |
ansible tower redhat | ≤ 3.3.4 | Verify advisory | Source |
ansible tower redhat | ≥ 3.3.5, ≤ 3.4.5 | Verify advisory | Source |
ansible tower redhat | ≥ 3.5.0, ≤ 3.5.5 | Verify advisory | Source |
ansible tower redhat | ≥ 3.6.0, ≤ 3.6.3 | Verify advisory | Source |
cloudforms management engine redhat | 5.0 | Verify advisory | Source |
openstack redhat | 13 | Verify advisory | Source |
fedora fedoraproject | 30 | Verify advisory | Source |
fedora fedoraproject | 31 | Verify advisory | Source |
fedora fedoraproject | 32 | Verify advisory | Source |
debian linux debian | 8.0 | Verify advisory | Source |
debian linux debian | 10.0 | Verify advisory | Source |
Ansible Red Hat | 2.7.17 and prior | Verify advisory | Source |
Ansible Red Hat | 2.8.9 and prior | Verify advisory | Source |
Ansible Red Hat | 2.9.6 and prior | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.