Link Following Affecting nano package, versions <0:2.9.8-3.el8_10


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

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-RHEL8-NANO-7219005
  • published7 Jun 2024
  • disclosed28 Apr 2024

Introduced: 28 Apr 2024

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

How to fix?

Upgrade RHEL:8 nano to version 0:2.9.8-3.el8_10 or higher.
This issue was patched in RHSA-2024:6986.

NVD Description

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