Vulnerability in Gnu Nano

CVE-2024-5742

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing, a file it saves to an emergency file with the permissions of the running user provides a…

EPSS: 0.003 (26.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-5742?
CVE-2024-5742 is a medium-severity vulnerability in Gnu Nano, classified under Improper Link Resolution Before File Access. CVSS score: 6.7/10. Published 2024-06-12.
How severe is CVE-2024-5742?
Medium severity. CVSS v3 base score is 6.7 out of 10.
Is CVE-2024-5742 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.