
CVE catalog
CVE-2020-1733
ansible: CVE-2020-1733
- Severity
- Medium · CVSS 5
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
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'.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ansible | sid | 14.4.0+dfsg-1 | fixed |
| Debian | ansible | forky | 14.0.0+dfsg-1 | fixed |
| Debian | ansible | trixie | 12.0.0+dfsg-0+deb13u1 | fixed |
| Debian | ansible | bookworm | 7.7.0+dfsg-3+deb12u1 | fixed |
| Alpine | ansible | 3.10 | 2.8.11-r0 | fixed |
| Alpine | ansible | 3.11 | 2.9.7-r0 | fixed |
| Alpine | ansible | 3.12 | 2.9.7-r0 | fixed |
| Alpine | ansible | 3.9 | 2.7.17-r0 | fixed |
| Alpine | ansible-base | 3.13 | 2.9.7-r0 | fixed |
| Alpine | ansible-base | 3.14 | 2.9.7-r0 | fixed |
| Ubuntu | ansible | pro | 2.8.3+dfsg-1 | vulnerable |
| Ubuntu | ansible | pro | 2.8.6+dfsg-1 | vulnerable |
| Ubuntu | ansible | pro | 2.9.2+dfsg-1 | vulnerable |
| Ubuntu | ansible | pro | 2.9.4+dfsg-1 | vulnerable |
| Ubuntu | ansible | pro | 2.9.6+dfsg-1 | vulnerable |
| Ubuntu | ansible | pro | 2.9.6+dfsg-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ansible | source | sid | 2.9.7+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | forky | 2.9.7+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | trixie | 2.9.7+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | ansible | source | bookworm | 2.9.7+dfsg-1 | not yet assigned | Not reported | Not reported |
| Alpine | ansible | apk | 3.10 | 2.8.11-r0 | Not reported | ALPINE-CVE-2020-1733 | Not reported |
| Alpine | ansible | apk | 3.11 | 2.9.7-r0 | Not reported | ALPINE-CVE-2020-1733 | Not reported |
| Alpine | ansible | apk | 3.12 | 2.9.7-r0 | Not reported | ALPINE-CVE-2020-1733 | Not reported |
| Alpine | ansible | apk | 3.9 | 2.7.17-r0 | Not reported | ALPINE-CVE-2020-1733 | Not reported |
| Alpine | ansible-base | apk | 3.13 | 2.9.7-r0 | Not reported | ALPINE-CVE-2020-1733 | Not reported |
| Alpine | ansible-base | apk | 3.14 | 2.9.7-r0 | Not reported | ALPINE-CVE-2020-1733 | Not reported |
| Ubuntu | ansible | deb | pro | 2.9.6+dfsg-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2020-1733 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [ansible]Fixed
Details (2)
7.7.0+dfsg-3+deb12u1· all · bookwormFixed · Fixed:
2.9.7+dfsg-1dsa · ansible · debian · bookworm; dsa · ansible · debian · 12
7.7.0+dfsg-3+deb12u1· all · bookwormFixed · Fixed:
2.9.7+dfsg-1dsa · ansible · debian · bookworm; dsa · ansible · debian · 12
[Debian 13 (Trixie)]
- [ansible]Fixed
Details (2)
12.0.0+dfsg-0+deb13u1· all · trixieFixed · Fixed:
2.9.7+dfsg-1dsa · ansible · debian · 13
12.0.0+dfsg-0+deb13u1· all · trixieFixed · Fixed:
2.9.7+dfsg-1dsa · ansible · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2020_2911-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2020-1733]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2020-1733]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2020-1733]
- [https://security-tracker.debian.org/tracker/CVE-2020-1733]
- [https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-1733.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2020/wid-sec-w-2023-2479.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]