CVE-2020-1733
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'.
Published:Feb 18, 2020
Last Modified:Nov 21, 2024
EPS:Mar 11, 2020
EPSS Score:0.00036
CVSS Score:5
Affected Products
Vendor
Product
Action
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Fedoraproject
Product
Fedora
Fedoraproject
Fedora
Vendor
Redhat
Product
Ansible
Redhat
Ansible
Vendor
Redhat
Product
Ansible Engine
Redhat
Ansible Engine
Vendor
Redhat
Product
Ansible Tower
Redhat
Ansible Tower
Vendor
Redhat
Product
Cloudforms Management Engine
Redhat
Cloudforms Management Engine
Vendor
Redhat
Product
Openstack
Redhat
Openstack
Exploits
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
