Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2024-5742 →
Unrated

A vulnerability was found in GNU Nano that allows a possible privilege escalation through an insecure temporary file. If Nano is killed while editing,...

UBUNTU-CVE-2024-5742 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSnano
< 2.2.6-1ubuntu1+esm1→ 2.2.6-1ubuntu1+esm1
Ubuntu:Pro:16.04:LTSnano
< 2.5.3-2ubuntu2+esm1→ 2.5.3-2ubuntu2+esm1
Ubuntu:Pro:18.04:LTSnano
< 2.9.3-2ubuntu0.1~esm1→ 2.9.3-2ubuntu0.1~esm1
Ubuntu:20.04:LTSnano
< 4.8-1ubuntu1.1→ 4.8-1ubuntu1.1
Ubuntu:22.04:LTSnano
< 6.2-1ubuntu0.1→ 6.2-1ubuntu0.1
Ubuntu:24.04:LTSnano
< 7.2-2ubuntu0.1→ 7.2-2ubuntu0.1
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details