Upstream information

CVE-2024-5742 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
CVSS detail CNA (Red Hat) National Vulnerability Database SUSE
Base Score 6.7 6.7 6.3
Vector CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
Attack Vector Local Local Local
Attack Complexity High High High
Privileges Required Low Low High
User Interaction Required Required Required
Scope Unchanged Unchanged Unchanged
Confidentiality Impact High High High
Integrity Impact High High High
Availability Impact High High High
CVSSv3 Version 3.1 3.1 3.1
SUSE Bugzilla entry: 1226099 [IN_PROGRESS]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Liberty Linux 8
  • nano >= 2.9.8-3.el8_10
Patchnames:
RHSA-2024:6986
SUSE Liberty Linux 9
  • nano >= 5.6.1-6.el9
Patchnames:
RHSA-2024:9430
SUSE Package Hub 15 SP5
  • nano >= 7.2-bp155.2.3.1
  • nano-lang >= 7.2-bp155.2.3.1
Patchnames:
openSUSE-2024-157
SUSE Package Hub 15 SP6
  • nano >= 7.2-bp156.3.3.1
  • nano-lang >= 7.2-bp156.3.3.1
Patchnames:
openSUSE-2024-157
openSUSE Leap 15.5
  • nano >= 7.2-bp155.2.3.1
  • nano-lang >= 7.2-bp155.2.3.1
Patchnames:
openSUSE-2024-157
openSUSE Leap 15.6
  • nano >= 7.2-bp156.3.3.1
  • nano-lang >= 7.2-bp156.3.3.1
Patchnames:
openSUSE-2024-157
openSUSE Tumbleweed
  • nano >= 8.0-2.1
  • nano-lang >= 8.0-2.1
Patchnames:
openSUSE-Tumbleweed-2024-14034


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Package Hub 15 SP6 nano Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Package Hub 15 SP5 nano Released


SUSE Timeline for this CVE

CVE page created: Fri Jun 7 16:00:02 2024
CVE page last modified: Thu Dec 11 17:30:06 2025