CVE-2020-1733: debian debian_linux DEPRECATED: Insecure Temporary File
Vulnerability summary
CVE-2020-1733 is a medium (CVSS 5.0) DEPRECATED: Insecure Temporary File vulnerability in debian debian_linux. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 34.2% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 16 · Related 9Timeline
- 11-03-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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'.
CVSS metrics
8 scores · 6 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
- OSV · PypiEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
- NVDNIST5.0MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
EPSS trend
Probability
0.40%
Chance of exploitation in the next 30 days
Percentile
34%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.40% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundAnsible
Maturity: poc
Weaknesses
CWE · root cause- CWE-377DEPRECATED: Insecure Temporary FileThis entry has been deprecated. It was focused only on the affected resource (temporary file) and not the behavior or mistake that produced the insecure temporary file, which caused confusion and incorrect mappings.
- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Affected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat4 products
- ansible≤ 2.7.16 | ≥ 2.8.0, < 2.8.8 | ≥ 2.9.0, ≤ 2.9.5
- ansible_tower≤ 3.3.4 | ≥ 3.3.5, ≤ 3.4.5 | ≥ 3.5.0, ≤ 3.5.5 | ≥ 3.6.0, ≤ 3.6.3
- cloudforms_management_engine5.0
- openstack13
Alpine2 products
- ansible≥ 2.8.0, < 2.8.11-r0 | ≥ 2.8.0, < 2.9.7-r0 | ≥ 2.8.0, < 2.7.17-r0
- ansible-base< 2.9.7-r0
Debian2 products
- ansible< 2.9.7+dfsg-1
- debian_linuxEOL8.0 | 10.0
Fedoraproject1 product
- fedoraEOL30 | 31 | 32
PyPI1 product
- ansible< 2.7.17 | ≥ 2.8.0a1, < 2.8.11 | ≥ 2.9.0a1, < 2.9.7 | ≥ 2.9.0, < 2.9.6
Red hat1 product
- ansible2.7.17 and prior | 2.8.9 and prior | 2.9.6 and prior
Ubuntu1 product
- ansible< 2.0.0.2-2ubuntu1.3+esm1 | < 2.5.1+dfsg-1ubuntu0.1+esm1 | < 2.9.6+dfsg-1ubuntu0.1~esm1
7 vendors · 12 products
References
27 links- bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733X Refsource CONFIRMWEBREPORTIssue TrackingVendor Advisory
- lists.debian.org/debian-lts-announce/2020/05/msg00005.htmlMailing ListX Refsource MLISTWEBThird Party Advisory
Show all 27 references
- github.com/ansible/ansiblePACKAGE