Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

vulnerability

Amazon Linux 2023: CVE-2024-5742: Medium priority package update for nano

Severity
6
CVSS
(AV:L/AC:H/Au:S/C:C/I:C/A:C)
Published
Apr 28, 2024
Added
Feb 17, 2025
Modified
Jul 8, 2025

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.

Solutions

amazon-linux-2023-upgrade-default-editoramazon-linux-2023-upgrade-nanoamazon-linux-2023-upgrade-nano-debuginfoamazon-linux-2023-upgrade-nano-debugsourceamazon-linux-2023-upgrade-nano-default-editor
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.