CVE-2020-1740

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/03/2020
Last modified:
07/11/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* 2.7.17 (excluding)
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* 2.8.0 (including) 2.8.11 (excluding)
cpe:2.3:a:redhat:ansible:*:*:*:*:*:*:*:* 2.9.0 (including) 2.9.7 (excluding)
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* 3.3.4 (including)
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* 3.3.5 (including) 3.4.5 (including)
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* 3.5.0 (including) 3.5.5 (including)
cpe:2.3:a:redhat:ansible_tower:*:*:*:*:*:*:*:* 3.6.0 (including) 3.6.3 (including)
cpe:2.3:a:redhat:cloudforms_management_engine:5.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openstack:13:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*