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
| Vulnerability | OS Platform |
|---|---|
| Multiple vulnerabilities are fixed in Python-ansible 2.7.17 | Windows |
| Multiple vulnerabilities are fixed in Python-ansible 2.8.11 | Windows |
| Multiple vulnerabilities are fixed in Python-ansible 2.9.7 | Windows |
| Multiple vulnerabilities are affected in Python-ansible 2.7.16 | Windows |
| Multiple vulnerabilities are affected in Python-ansible 2.8.10 | Windows |
| Multiple vulnerabilities are affected in Python-ansible 2.9.6 | Windows |
| ansible security update(DSA-4950-1) ansible_2.7.7+dfsg-1+deb10u1_all.deb | Linux |
| ansible security update(DSA-4950-1) Debian_ansible_2.7.7+dfsg-1+deb10u1_all.deb | Linux |
| Multiple vulnerabilities are fixed in Python-ansible for linux 2.7.17 | Linux |
| Multiple vulnerabilities are fixed in Python-ansible for linux 2.8.11 | Linux |
| Multiple vulnerabilities are fixed in Python-ansible for linux 2.9.7 | Linux |
| Multiple vulnerabilities are affected in Python-ansible for linux 2.7.16 | Linux |
| Multiple vulnerabilities are affected in Python-ansible for linux 2.8.10 | Linux |
| Multiple vulnerabilities are affected in Python-ansible for linux 2.9.6 | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234