Link Following Affecting nano-debugsource package, versions <0:5.8-3.amzn2023.0.4


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.35% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-NANODEBUGSOURCE-7547684
  • published23 Jul 2024
  • disclosed12 Jun 2024

Introduced: 12 Jun 2024

CVE-2024-5742  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 nano-debugsource to version 0:5.8-3.amzn2023.0.4 or higher.
This issue was patched in ALAS2023-2024-652.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nano-debugsource package and not the nano-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1