Skip to content
OpenAdvisories
Medium USN-7064-1 1 CVE

nano vulnerability

Published Oct 15, 2024 · Updated Jun 25, 2026

Summary

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.

Fixed packages 5

ReleasePackageFixed in
Ubuntu · 20.04 LTS 20.04:LTS nano 4.8-1ubuntu1.1
Ubuntu · 22.04 LTS 22.04:LTS nano 6.2-1ubuntu0.1
Ubuntu · 24.04 LTS 24.04:LTS nano 7.2-2ubuntu0.1
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS nano 2.5.3-2ubuntu2+esm1
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS nano 2.9.3-2ubuntu0.1~esm1

Vulnerabilities 1

References

  • report
    https://ubuntu.com/security/CVE-2024-5742