CVE-2024-5742

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.
Link Following
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.7 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
redhatCNA
6.7 MEDIUM
LOCAL
HIGH
LOW
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CISA-ADPADP
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 9%
VendorProductVersion
gnunano
2.2.0 ≤
𝑥
< 8.0
redhatenterprise_linux
6.0
redhatenterprise_linux
7.0
redhatenterprise_linux
8.0
redhatenterprise_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
nano
bullseye
5.4-2+deb11u3
fixed
bookworm
7.2-1+deb12u1
fixed
sid
8.4-1
fixed
trixie
8.4-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
nano
oracular
not-affected
noble
Fixed 7.2-2ubuntu0.1
released
mantic
ignored
jammy
Fixed 6.2-1ubuntu0.1
released
focal
Fixed 4.8-1ubuntu1.1
released
bionic
Fixed 2.9.3-2ubuntu0.1~esm1
released
xenial
Fixed 2.5.3-2ubuntu2+esm1
released
trusty
Fixed 2.2.6-1ubuntu1+esm1
released