DEBIAN-CVE-2024-5742

Source
https://security-tracker.debian.org/tracker/CVE-2024-5742
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2024-5742.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2024-5742
Upstream
Published
2024-06-12T09:15:23Z
Modified
2025-10-14T04:26:40.301433Z
Severity
  • 6.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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 window of opportunity for attackers to escalate privileges through a malicious symlink.

References

Affected packages

Debian:11 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.4-2+deb11u3

Affected versions

5.*

5.4-2
5.4-2+deb11u1
5.4-2+deb11u2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
7.2-1+deb12u1

Affected versions

7.*

7.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / nano

Package

Name
nano
Purl
pkg:deb/debian/nano?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}