NetSight
low3.9

CVE-2020-1740

A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files.

Impact

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.

Affected products

VendorProductAffected versions
RedhatAnsible
before 2.7.17
from 2.8.0 before 2.8.11
from 2.9.0 before 2.9.7
RedhatAnsible Tower
through 3.3.4
from 3.3.5 through 3.4.5
from 3.5.0 through 3.5.5
from 3.6.0 through 3.6.3
RedhatCloudforms Management Engine
Version 5.0
RedhatOpenstack
Version 13
DebianDebian Linux
Versions 8.0, 10.0
FedoraprojectFedora
Versions 30, 31, 32

Weakness classification

References