Lucene search

K
redhatcveRedhat.comRH:CVE-2020-1740
HistoryFeb 18, 2020 - 2:29 p.m.

CVE-2020-1740

2020-02-1814:29:59
redhat.com
access.redhat.com
12

0.0005 Low

EPSS

Percentile

18.2%

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.

Mitigation

Currently, there is no mitigation for this issue except avoid using the 'edit' option from 'ansible-vault' command line tool.