{"cve":"CVE-2020-1733","nvd":{"published":"2020-03-11T19:15:13.030","modified":"2026-06-17T03:02:17.740","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L","score":5.0},"cwes":["CWE-362","CWE-377"],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1733","https://github.com/ansible/ansible/issues/67791","https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/"],"products":["debian:debian_linux","fedoraproject:fedora","redhat:ansible","redhat:ansible_tower","redhat:cloudforms_management_engine","redhat:openstack"],"source":"nvd","synced_at":"2026-10-19T21:02:53.949909883+00:00"},"epss":{"cve":"CVE-2020-1733","score":0.00403,"percentile":0.34585,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g4mq-6fp5-qwcf","url":"https://osv.dev/vulnerability/GHSA-g4mq-6fp5-qwcf","summary":"Ansible vulnerable to Exposure of Resource to Wrong Sphere and Insecure Temporary File","modified":"2024-11-27T05:26:28.905460Z","packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":["<2.7.17"],"fixed":["2.7.17"]},{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.8.0a1 <2.8.11"],"fixed":["2.8.11"]},{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":[">=2.9.0a1 <2.9.7"],"fixed":["2.9.7"]}]},{"id":"PYSEC-2020-5","url":"https://osv.dev/vulnerability/PYSEC-2020-5","summary":"","modified":"2023-11-08T04:02:40.783658Z","packages":[{"ecosystem":"PyPI","name":"ansible","purl":"pkg:pypi/ansible","ranges":["<2.7.17",">=2.8.0 <2.8.8",">=2.9.0 <2.9.6"],"fixed":["2.7.17","2.8.8","2.9.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}