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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-57401SQL Injection vulnerability in Uniclare Student portal v.2 a…9.8
- CVE-2024-57407An arbitrary file upload vulnerability in the component /use…7.3
- CVE-2024-57408An arbitrary file upload vulnerability in the component /com…7.2
- CVE-2024-57409A stored cross-site scripting (XSS) vulnerability in the Par…4.8
- CVE-2024-5741Stored XSS in inventory tree rendering in Checkmk before 2.3…5.4
- CVE-2024-57412An issue in SunOS Omnios v5.11 allows attackers to cause a D…7.5
- CVE-2024-57423A Cross Site Scripting vulnerability in CloudClassroom-PHP P…6.1
- CVE-2024-57426NetMod VPN Client 5.3.1 is vulnerable to DLL injection, allo…7.3
- CVE-2024-57427PHPJabbers Cinema Booking System v2.0 is vulnerable to refle…6.1
- CVE-2024-57428A stored cross-site scripting (XSS) vulnerability in PHPJabb…9.3
- CVE-2024-57429A cross-site request forgery (CSRF) vulnerability in the pjA…5.4
- CVE-2024-5743An attacker could exploit the 'Use of Password Hash With Ins…9.8
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
