CVE-2020-1740

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.

Risk Information

Base Score
4.7
MODERATE
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS Score
Exploitation Probability
0.029

Associated Vulnerability

VulnerabilityOS Platform
Multiple vulnerabilities are fixed in Python-ansible 2.7.17Windows
Multiple vulnerabilities are fixed in Python-ansible 2.8.11Windows
Multiple vulnerabilities are fixed in Python-ansible 2.9.7Windows
Multiple vulnerabilities are affected in Python-ansible 2.7.16Windows
Multiple vulnerabilities are affected in Python-ansible 2.8.10Windows
Multiple vulnerabilities are affected in Python-ansible 2.9.6Windows
ansible security update(DSA-4950-1) ansible_2.7.7+dfsg-1+deb10u1_all.debLinux
ansible security update(DSA-4950-1) Debian_ansible_2.7.7+dfsg-1+deb10u1_all.debLinux
Multiple vulnerabilities are fixed in Python-ansible for linux 2.7.17Linux
Multiple vulnerabilities are fixed in Python-ansible for linux 2.8.11Linux
Multiple vulnerabilities are fixed in Python-ansible for linux 2.9.7Linux
Multiple vulnerabilities are affected in Python-ansible for linux 2.7.16Linux
Multiple vulnerabilities are affected in Python-ansible for linux 2.8.10Linux
Multiple vulnerabilities are affected in Python-ansible for linux 2.9.6Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234