Skip to main content
VulnerabilityPublished Updated

CVE-2024-5742: nano vulnerability

Affects nanoSource GCVE Database

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

Not known to be exploited · CVSS 6.7 Medium : upgrade to 2.2.6-1ubuntu1+esm1 when convenient.

Data as of 24 Nov 2026, 17:24 UTC

CVSS 3.1 base score
6.7Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.7
Patch
Available – fixed in 2.2.6-1ubuntu1+esm1
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 23 Nov 2026.

What to do

Upgrade the Ubuntu nano package to 2.2.6-1ubuntu1+esm1.

Affected software

ProductAffectedFixed in
Ubuntu Pro 14.04 LTSnanopkg:deb/ubuntu/nano?arch=source&distro=trusty/esmOther threatsAffected
  • <2.2.6-1ubuntu1+esm1
Fixed in
  • 2.2.6-1ubuntu1+esm1

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

Description

USN-7064-1 fixed a vulnerability in nano. This update provides the corresponding update for Ubuntu 14.04 LTS. Original advisory details: It was discovered that nano allowed a possible privilege escalation through an insecure temporary file. If nano was killed while editing, the permissions granted to the emergency save file could be used by an attacker to escalate privileges using a malicious symlink.

References

Community reviews

Loading reviews…