CVE Database
/

CVE-2020-1733

Back to search

CVE-2020-1733

Published: Mar 11, 2020

Modified: Aug 4, 2024

PUBLISHED

CVSS v3.1

5.0

MEDIUM

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

VendorProductVersions

Red Hat

Ansible

affected
2.7.17 and prior
affected
2.8.9 and prior
affected
2.9.6 and prior

Weaknesses (CWE)

CVSS v3.1 Details

CVSS v3.1 Vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:L

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

Required

Scope

Changed

Confidentiality

Low

Integrity

Low

Availability

Low

References

FEDORA-2020-1b6ce91e37
vendor-advisory
x_refsource_FEDORA
FEDORA-2020-3990f03ba3
vendor-advisory
x_refsource_FEDORA
FEDORA-2020-f80154b5b4
vendor-advisory
x_refsource_FEDORA
GLSA-202006-11
vendor-advisory
x_refsource_GENTOO
DSA-4950
vendor-advisory
x_refsource_DEBIAN

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now