CVE-2020-1740

Priority
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.
Notes
Package
Upstream:released (2.9.7+dfsg-1, 1.7.2+dfsg-2+deb9u3)
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 ESM (Trusty Tahr):needed
Ubuntu 16.04 LTS (Xenial Xerus):needed
Ubuntu 18.04 LTS (Bionic Beaver):needed
Ubuntu 20.04 LTS (Focal Fossa):needed
Ubuntu 20.10 (Groovy Gorilla):not-affected (2.9.7+dfsg-1)
More Information

Updated: 2020-10-24 07:03:53 UTC (commit 69e225d81a6ee3e2e014950178db797c5d4e5009)