VULNERABILITY INTELLIGENCE

CVE-2024-5742

CVSS score6.7 MEDIUM
EPSS probability0.34%
CISA KEVNot currently listed
Published2024-06-12
Last modified2026-10-15
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

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

  • secalert@redhat.com: CWE-59
  • nvd@nist.gov: CWE-59

Primary references