vulnerability
FreeBSD: VID-ae2e7871-80f6-11ea-bafd-815569f3852d (CVE-2020-1740): ansible - Vault password leak from temporary file
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 2 | (AV:L/AC:M/Au:N/C:P/I:N/A:N) | Apr 17, 2020 | Apr 18, 2020 | Dec 10, 2025 |
Severity
2
CVSS
(AV:L/AC:M/Au:N/C:P/I:N/A:N)
Published
Apr 17, 2020
Added
Apr 18, 2020
Modified
Dec 10, 2025
Description
Borja Tarraso reports: 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.
Solutions
freebsd-upgrade-package-ansiblefreebsd-upgrade-package-ansible27freebsd-upgrade-package-ansible26freebsd-upgrade-package-ansible25freebsd-upgrade-package-ansible24freebsd-upgrade-package-ansible23
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.