Medium severity · published Mar 16, 2020
CVE-2020-1740
A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files
4.7
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
High
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 30% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AN
Ansible · Redhat
before 2.7.17; 2.8.0 before 2.8.11; 2.9.0 before 2.9.7 · source: NVD
AT
Ansible Tower · Redhat
through 3.3.4; 3.3.5 through 3.4.5; 3.5.0 through 3.5.5; 3.6.0 through 3.6.3 · source: NVD
DL
Debian Linux · Debian
8.0; 10.0 · source: NVD
FE
Fedora · Fedoraproject
30; 31; 32 · source: NVD
OP
Openstack · Redhat
13 · source: NVD