CVE-2024-5742
Last modified
CVE-2024-5742 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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.. EPSS estimates a 0.35% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gnu | Nano | >= 2.2.0, < 8.0 |
| Redhat | Enterprise Linux | 6.0 |
| Redhat | Enterprise Linux | 7.0 |
| Redhat | Enterprise Linux | 8.0 |
| Redhat | Enterprise Linux | 9.0 |
References
- https://access.redhat.com/security/cve/CVE-2024-5742Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278574Issue Tracking, Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2024-5742Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2278574Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-5742?
How severe is CVE-2024-5742?
How do I fix CVE-2024-5742?
Are you affected by CVE-2024-5742?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
