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—
Product
Gnu Nano
PublishedJun 12, 2024
First seenJun 12, 2024
Weakness typeCWE-59Improper link resolution
How to fix
Update
- gnu nano8.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gnu nano | 2.2.0 ≤ v < 8.0 | 8.0 |
| redhat enterprise_linux | 6.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.