CVE-2020-1740CWE-377

A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files

Low · published March 16, 2020

CVSS v3.1
3.9
EPSS
0%
Percentile
28.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
3.9 · LOW
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00363 · 28.9th percentile
Weakness
CWE-377 · Insecure Temporary File
Published
2020-03-16T15:07Z
EPSS history
Timeline
  • 16 MAR 15:07Z
    A flaw was found in Ansible Engine when using Ansible Vault for editing encrypted files
    cvelistv5