cbcvebase.
CVE-2020-1740
published 2020-03-16

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…

medium4.7CVSS 3.1
AVLACHPRLUINSUCHINAN
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.

Affected

23 ranges
VendorProductVersion rangeFixed in
debianansible< ansible 2.9.7+dfsg-1 (bookworm)ansible 2.9.7+dfsg-1 (bookworm)
debiandebian_linux
debiandebian_linux
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
red_hatansible
redhatansible< 2.7.172.7.17
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1
redhatansible>= 0 < 2.9.7+dfsg-12.9.7+dfsg-1
redhatansible>= 0 < 2.7.172.7.17
redhatansible>= 2.8.0 < 2.8.112.8.11
redhatansible>= 2.8.0a1 < 2.8.112.8.11
redhatansible>= 2.9.0 < 2.9.72.9.7
redhatansible>= 2.9.0a1 < 2.9.72.9.7
redhatansible_tower<= 3.3.4
redhatansible_tower3.3.5 – 3.4.5
redhatansible_tower3.5.0 – 3.5.5
redhatansible_tower3.6.0 – 3.6.3
redhatcloudforms_management_engine
redhatopenstack

CVSS provenance

nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
osv4.7MEDIUM