CVE-2020-1740

Source
https://cve.org/CVERecord?id=CVE-2020-1740
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1740.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-1740
Aliases
Downstream
Related
Published
2020-03-16T16:15:14.217Z
Modified
2026-02-05T05:06:50.394099Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/ansible/ansible

Affected versions

v2.*
v2.8.0
v2.8.1
v2.8.10
v2.8.2
v2.8.3
v2.8.4
v2.8.5
v2.8.6
v2.8.7
v2.8.8
v2.8.9
v2.9.0
v2.9.1
v2.9.2
v2.9.3
v2.9.4
v2.9.5
v2.9.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-1740.json"