CVE Database
/

CVE-2020-1740

Back to search

CVE-2020-1740

Published: Mar 16, 2020

Modified: Aug 4, 2024

PUBLISHED

CVSS v3.1

3.9

LOW

Description

A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files. When a user executes "ansible-vault edit", another user on the same computer can read the old and new secret, as it is created in a temporary file with mkstemp and the returned file descriptor is closed and the method write_data is called to write the existing secret in the file. This method will delete the file before recreating it insecurely. All versions in 2.7.x, 2.8.x and 2.9.x branches are believed to be vulnerable.

VendorProductVersions

Red Hat

ansible

affected
2.7.x, 2.8.x, 2.9.x

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:N

Attack Vector

Local

Attack Complexity

High

Privileges Required

Low

User Interaction

Required

Scope

Changed

Confidentiality

Low

Integrity

Low

Availability

None

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