Red Hat ansible

CVE-2020-1740
LOW 3.9

At a glance

Source
NVD
EPSS
EPSS 0.36 % Β· percentile 30 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-377 β€” DEPRECATED: Insecure Temporary File
  • CWE-200 β€” Exposure of Sensitive Information to an Unauthorized Actor

References

Scores

VersionScoreVectorScored by
CVSS 3.1LOW 3.9CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:Nredhat
CVSS 3.1LOW 3.9CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:NNVD Β· secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 4.7CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NNVD Β· nvd@nist.gov (Primary)
CVSS 2.0LOW 1.9AV:L/AC:M/Au:N/C:P/I:N/A:NNVD Β· nvd@nist.gov (Primary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Red Hat Β· ansibleaffected 2.7.x, 2.8.x, 2.9.x

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD