Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2024-5742: Security patch for nano (ALAS-2024-2590)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Amazon Linux AMI 2: CVE-2024-5742: Security patch for nano (ALAS-2024-2590)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
06/12/2024
Created
07/23/2024
Added
07/23/2024
Modified
07/23/2024

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.

Solution(s)

  • amazon-linux-ami-2-upgrade-nano
  • amazon-linux-ami-2-upgrade-nano-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;