4.7

CVE-2020-1740: debian debian_linux DEPRECATED: Insecure Temporary File

Modified
AliasesALPINE-CVE-2020-1740GHSA-vcg8-98q8-g7mjPYSEC-2020-12
Published 16-03-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-1740 is a medium (CVSS 4.7) DEPRECATED: Insecure Temporary File vulnerability in debian debian_linux. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 29.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.9, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.7/10
010
Medium · v3.1 (NVD)
EPSS score
0.36%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 7

Timeline

  1. 16-03-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 6 sources · 3 versions

EPSS trend

Probability

0.36%

Chance of exploitation in the next 30 days

Percentile

30%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.36% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat4 products
Alpine2 products
  • ansible≥ 2.8.0, < 2.8.11-r0 | ≥ 2.8.0, < 2.9.7-r0 | ≥ 2.8.0, < 2.7.17-r0
  • ansible-base< 2.9.7-r0
Debian2 products
Fedoraproject1 product
PyPI1 product
  • ansible< 2.7.17 | ≥ 2.8.0a1, < 2.8.11 | ≥ 2.9.0a1, < 2.9.7 | ≥ 2.9.0, < 2.9.6
Red hat1 product
Ubuntu1 product
  • ansibleAll versions (No fix recorded)

7 vendors · 12 products

References

27 links
Show all 27 references