Link Following Affecting nano package, versions <5.4-2+deb11u3


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.05% (18th 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-DEBIAN11-NANO-7222353
  • published8 Jun 2024
  • disclosed12 Jun 2024

Introduced: 8 Jun 2024

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

How to fix?

Upgrade Debian:11 nano to version 5.4-2+deb11u3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream nano package and not the nano package as distributed by Debian. See How to fix? for Debian:11 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 Scores

version 3.1