CVE-2020-1740
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.
Published:Feb 18, 2020
Last Modified:Nov 21, 2024
EPS:Mar 16, 2020
EPSS Score:0.00036
CVSS Score:3.9
Affected Products
Vendor
Product
Action
Vendor
Debian
Product
Debian Linux
Debian
Debian Linux
Vendor
Fedoraproject
Product
Fedora
Fedoraproject
Fedora
Vendor
Redhat
Product
Ansible
Redhat
Ansible
Vendor
Redhat
Product
Ansible Engine
Redhat
Ansible Engine
Vendor
Redhat
Product
Ansible Tower
Redhat
Ansible Tower
Vendor
Redhat
Product
Cloudforms Management Engine
Redhat
Cloudforms Management Engine
Vendor
Redhat
Product
Openstack
Redhat
Openstack
Exploits
No exploit reference
Common Weakness Enumeration
Common Attack Pattern Enumeration and Classification (CAPEC)
Related CVEs
References
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
