Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2024-5742

19
FAUCET Score

CVE-2024-5742 is a privilege escalation vulnerability in GNU Nano, affecting both GNU Nano and Red Hat Enterprise Linux distributions. It arises from an insecure temporary file created when Nano is unexpectedly terminated, allowing an attacker to create a malicious symlink to escalate privileges. Rated 6.7 MEDIUM, exploitation requires local access, high attack complexity, and user interaction, but can lead to high impact on confidentiality, integrity, and availability. There is currently no evidence of active exploitation, public exploit code, or significant community discussion surrounding this vulnerability.

Impacted Technologies

VendorProductVersion(s)CPE
>= 2.2.0, < 8.0CPE matchmatch criteria
cpe:2.3:a:gnu:nano:*:*:*:*:*:*:*:*
6.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
7.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
8.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

6.7MEDIUM

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
0.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.35%
Probability of exploitation in next 30 days
EPSS Percentile
27.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0035 is in the 86th percentile among its peer group of 296 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.0 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (11)

microsoftpatch availablevia msrc
Product: cbl2 nano 6.0-3 on CBL Mariner 2.0Fixed in: 6.0-3
microsoftpatch availablevia msrc
Product: 17720-17084Fixed in: 6.4-2
microsoftpatch availablevia msrc
Product: 20092-17086Fixed in: 6.0-3
microsoftpatch availablevia msrc
Product: azl3 nano 6.4-2 on Azure Linux 3.0Fixed in: 6.4-2
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 x64Fixed in: 6.4-2
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 x64Fixed in: 6.0-3
microsoftpatch availablevia msrc
Product: CBL Mariner 2.0 ARMFixed in: 6.0-3
microsoftpatch availablevia msrc
Product: Azure Linux 3.0 ARMFixed in: 6.4-2
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: nano-0:2.9.8-3.el8_10
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 9Fixed in: nano-0:5.6.1-6.el9
View patch
redhatvendor investigatingvia nvd_reference
View patch

Vendor Advisories (3)

microsoft2024-Nov/CVE-2024-5742

CVE-2024-5742

Nov 12, 2024
microsoft2024-Jun/CVE-2024-5742Moderate

Nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file

Jun 11, 2024
redhatCVE-2024-5742Low

nano: running `chmod` and `chown` on the filename allows malicious user to replace the emergency file with a malicious symlink to a root-owned file

Apr 28, 2024

References

lists.debian.org / debian-lts-announce/2024/06/msg00006.html
access.redhat.com / errata/RHSA-2024:6986
access.redhat.com / errata/RHSA-2024:9430
access.redhat.com / security/cve/CVE-2024-5742
Vendor Advisory
bugzilla.redhat.com / show_bug.cgi
Issue TrackingVendor Advisory