5

CVE-2020-1733

Exploit

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

Data is provided by the National Vulnerability Database (NVD)
RedhatAnsible Version <= 2.7.16
RedhatAnsible Version >= 2.8.0 < 2.8.8
RedhatAnsible Version >= 2.9.0 <= 2.9.5
RedhatAnsible Tower Version <= 3.3.4
RedhatAnsible Tower Version >= 3.3.5 <= 3.4.5
RedhatAnsible Tower Version >= 3.5.0 <= 3.5.5
RedhatAnsible Tower Version >= 3.6.0 <= 3.6.3
RedhatOpenstack Version13
FedoraprojectFedora Version30
FedoraprojectFedora Version31
FedoraprojectFedora Version32
DebianDebian Linux Version8.0
DebianDebian Linux Version10.0
Zu dieser CVE wurde keine CISA KEV oder CERT.AT-Warnung gefunden.
EPSS Metriken
Type Source Score Percentile
EPSS FIRST.org 0.04% 0.087
CVSS Metriken
Source Base Score Exploit Score Impact Score Vector string
nvd@nist.gov 5 0.8 3.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
nvd@nist.gov 3.7 1.9 6.4
AV:L/AC:H/Au:N/C:P/I:P/A:P
secalert@redhat.com 5 0.8 3.7
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L
CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.

CWE-377 Insecure Temporary File

Creating and using insecure temporary files can leave application and system data vulnerable to attack.