CVE-2024-5742

Medium

Description

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.

SeverityMedium
CVSS6.7
Exploit probability—
ProductGnu Nano
PublishedJun 12, 2024
First seenJun 12, 2024

How to fix

Affected products

ProductAffected versionsFixed in
gnu nano2.2.0 ≤ v < 8.08.0
redhat enterprise_linux6.0, 7.0, 8.0, 9.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.