National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2020-1740 Detail

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

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: 4.7 MEDIUM
Vector:  CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Nist CVSS score does not match with CNA score
CNA:  Red Hat, Inc.
Base Score: 3.9 LOW
Vector:  CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1740 Issue Tracking Vendor Advisory
https://github.com/ansible/ansible/issues/67798 Third Party Advisory
https://lists.debian.org/debian-lts-announce/2020/05/msg00005.html
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DKPA4KC3OJSUFASUYMG66HKJE7ADNGFW/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRRYUU5ZBLPBXCYG6CFP35D64NP2UB2S/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WQVOQD4VAIXXTVQAJKTN7NUGTJFE2PCB/

Weakness Enumeration

CWE-ID CWE Name Source
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor NIST  
CWE-377 Insecure Temporary File Red Hat, Inc.  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2.7.16
 cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
2.8.0
Up to (including)
2.8.8
 cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
2.9.0
Up to (including)
2.9.5
 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
3.3.4
 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
3.3.5
Up to (including)
3.4.5
 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
3.5.0
Up to (including)
3.5.5
 cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
From (including)
3.6.0
Up to (including)
3.6.3
 cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:redhat:openstack:13.0:*:*:*:*:*:*:*
     Show Matching CPE(s)


Change History

4 change records found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2020-1740
NVD Published Date:
03/16/2020
NVD Last Modified:
04/27/2020