Skip to main content
CVE-2024-5742VulnerabilityPublished Updated

Red Hat Security Advisory: nano security update

Affects Red Hat nanoSource GCVE Database

0
Compare
Authoritative record:CVE-2024-5742· Medium 6.7

Not known to be exploited · CVSS 6.7 Medium : upgrade the Debian debian/nano package to 5.9-1.1 when convenient.

Data as of 5 Nov 2026, 14:51 UTC

CVSS 3.1 base score
6.7Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 5.9-1.1
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Upgrade the Debian debian/nano package to 5.9-1.1.

Affected software

ProductAffectedFixed in
Debiandebian/nanopkg:deb/debian/nanoOther threatsAffected
  • <5.9-1.1
Fixed in
  • 5.9-1.1
Red Hatredhat/nanopkg:rpm/redhat/nanoOther threatsAffected
  • =5.9-1.el9_0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Red Hat has released updated nano packages for Red Hat Enterprise Linux 8 and its extended life cycle versions that address this vulnerability. Users should apply these official updates as detailed in the Red Hat advisory RHSA-2024:6986 and the referenced article https://access.redhat.com/articles/11258 to remediate the issue.

Description

A security vulnerability in GNU nano allows a malicious user to exploit the behavior of running chmod and chown on a filename to replace an emergency file with a malicious symlink pointing to a root-owned file. This issue is tracked as CVE-2024-5742 and has been rated with a low security impact by Red Hat. An update addressing this vulnerability is available for Red Hat Enterprise Linux 8 and its extended life cycle versions.

References

Community reviews

Loading reviews…