CVE-2020-1733
CVSS v3
5
MEDIUM
EPSS Score
0.4 %
exploit probability, as of 2026-10-19
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for ansible.
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansiblePyPIall versions · fixed in 2.7.17
Vendor advisories
ansible: insecure temporary directory when running become_user from become directive
ansible.src as a component of Red Hat Ansible Tower 3 · ansible.src as a component of Red Hat Ceph Storage 2 · ansible.src as a component of Red Hat Ceph Storage 3
Red Hat Security Advisory: Ansible security and bug fix update (2.8.11)
Red Hat Security Advisory: Ansible security and bug fix update (2.7.17)
Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)
Red Hat Security Advisory: Ansible security and bug fix update (2.9.7)
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'.
Technical details
- Published
- 2020-03-11
Frequently asked questions
What is CVE-2020-1733?
Is CVE-2020-1733 actively exploited?
What is the CVSS score for CVE-2020-1733?
Running ansible? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.