CVE-2024-5742
MEDIUM
MEDIUM
Priority: 0.02
BB Relevance:
18/100
Published: 2024-06-12
Modified: 2026-11-06
First seen: 2026-11-06
Status: active
Attack Surface
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Local
AC:
High
PR:
Low
UI:
Required
S:
Unchanged
C:
High
I:
High
A:
High
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.
Weakness Classification (1)
Affected Software (5)
| Vendor | Product | Version |
|---|---|---|
| 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 & Advisories (6)
vendor-advisory
x_refsource_REDHAT
vendor-advisory
x_refsource_REDHAT
vdb-entry
x_refsource_REDHAT
issue-tracking
x_refsource_REDHAT