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

VulnerabilityOS Platform
Multiple vulnerabilities are fixed in Python-ansible 2.7.17Windows
Multiple vulnerabilities are fixed in Python-ansible 2.8.11Windows
Multiple vulnerabilities are fixed in Python-ansible 2.9.7Windows
Multiple vulnerabilities are affected in Python-ansible 2.7.16Windows
Multiple vulnerabilities are affected in Python-ansible 2.8.10Windows
Multiple vulnerabilities are affected in Python-ansible 2.9.6Windows
ansible security update(DSA-4950-1) ansible_2.7.7+dfsg-1+deb10u1_all.debLinux
ansible security update(DSA-4950-1) Debian_ansible_2.7.7+dfsg-1+deb10u1_all.debLinux
Multiple vulnerabilities are fixed in Python-ansible for linux 2.7.17Linux
Multiple vulnerabilities are fixed in Python-ansible for linux 2.8.11Linux
Multiple vulnerabilities are fixed in Python-ansible for linux 2.9.7Linux
Multiple vulnerabilities are affected in Python-ansible for linux 2.7.16Linux
Multiple vulnerabilities are affected in Python-ansible for linux 2.8.10Linux
Multiple vulnerabilities are affected in Python-ansible for linux 2.9.6Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234