CVE-2020-1733
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 ; 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//cmdline.
Risk Information
Base Score
5.0
MODERATE
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
EPSS Score
Exploitation Probability
0.029
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| Multiple vulnerabilities are fixed in Python-ansible 2.7.17 | Windows |
| Multiple vulnerabilities are fixed in Python-ansible 2.8.11 | Windows |
| Multiple vulnerabilities are fixed in Python-ansible 2.9.7 | Windows |
| Multiple vulnerabilities are affected in Python-ansible 2.7.16 | Windows |
| Multiple vulnerabilities are affected in Python-ansible 2.8.10 | Windows |
| Multiple vulnerabilities are affected in Python-ansible 2.9.6 | Windows |
| ansible security update(DSA-4950-1) ansible_2.7.7+dfsg-1+deb10u1_all.deb | Linux |
| ansible security update(DSA-4950-1) Debian_ansible_2.7.7+dfsg-1+deb10u1_all.deb | Linux |
| Multiple vulnerabilities are fixed in Python-ansible for linux 2.7.17 | Linux |
| Multiple vulnerabilities are fixed in Python-ansible for linux 2.8.11 | Linux |
| Multiple vulnerabilities are fixed in Python-ansible for linux 2.9.7 | Linux |
| Multiple vulnerabilities are affected in Python-ansible for linux 2.7.16 | Linux |
| Multiple vulnerabilities are affected in Python-ansible for linux 2.8.10 | Linux |
| Multiple vulnerabilities are affected in Python-ansible for linux 2.9.6 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234