CVEvulnerability

CVE-2024-5742

6.7 MEDIUM Published 2024-06-12 Modified 2026-10-15 Official page ↗
Status
Modified
Published
2024-06-12
Last modified
2026-10-15
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
6.7 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-59

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.

Affected configurations

• 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

Related

Weakness · CWE (1)

  • CWE-59 Improper Link Resolution Before File Access weakness

References