CVE-2024-32487 Affecting less package, versions <0:590-4.el9_4


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.04% (12th 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-ALMALINUX9-LESS-7169715
  • published30 May 2024
  • disclosed30 May 2024

Introduced: 30 May 2024

CVE-2024-32487  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 less to version 0:590-4.el9_4 or higher.
This issue was patched in ALSA-2024:3513.

NVD Description

Note: Versions mentioned in the description apply only to the upstream less package and not the less package as distributed by AlmaLinux. See How to fix? for AlmaLinux:9 relevant fixed versions and status.

less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c. Exploitation typically requires use with attacker-controlled file names, such as the files extracted from an untrusted archive. Exploitation also requires the LESSOPEN environment variable, but this is set by default in many common cases.

CVSS Scores

version 3.1