Versio.io

CVE-2020-1733

Common vulnerabilities & exposures (CVE)

CVE databaseCVE database blogpostRelease & EoL database
 
Published at: - 11-03-2020 08:15
Last modified: - 25-04-2022 07:37
Total changes: - 3

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'.

Common Vulnerability Scoring System (CVSS)

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
High
Attack complexity
Local
Attack vector
Low
Availability
Low
Confidentiality
Low
Integrity
Low
Privileges required
Changed
Scope
Required
User interaction
5.0
Base score
0.8
3.7
Exploitability score
Impact score
 

Verification logic

OR
OR
vendor=Red Hat Enterprise Linux AND product=ansible AND versionEndIncluding=2.7.16
vendor=Red Hat Enterprise Linux AND product=ansible AND versionStartIncluding=2.8.0 AND versionEndExcluding=2.8.8
vendor=Red Hat Enterprise Linux AND product=ansible AND versionEndIncluding=2.9.5 AND versionStartIncluding=2.9.0
vendor=Red Hat Enterprise Linux AND product=ansible_tower AND versionEndIncluding=3.3.4
vendor=Red Hat Enterprise Linux AND product=ansible_tower AND versionEndIncluding=3.4.5 AND versionStartIncluding=3.3.5
vendor=Red Hat Enterprise Linux AND product=ansible_tower AND versionEndIncluding=3.5.5 AND versionStartIncluding=3.5.0
vendor=Red Hat Enterprise Linux AND product=ansible_tower AND versionEndIncluding=3.6.3 AND versionStartIncluding=3.6.0
vendor=Red Hat Enterprise Linux AND product=cloudforms_management_engine AND version=5.0
vendor=Red Hat Enterprise Linux AND product=openstack AND version=13
OR
vendor=fedoraproject AND product=fedora AND version=30
vendor=fedoraproject AND product=fedora AND version=31
vendor=fedoraproject AND product=fedora AND version=32
OR
vendor=Debian AND product=debian_linux AND version=8.0
vendor=Debian AND product=debian_linux AND version=10.0
 

Reference

 


Keywords

NVD

 

CVE-2020-1733

 

CVE

 

Common vulnerabilities & exposures

 

CVSS

 

Common vulnerability scoring system

 

Security

 

Vulnerabilities

 

Exposures

 

We use cookies to ensure that we give you the best experience on our website. Read privacy policies for more information.