Vulnerability · Published Apr 13, 2024 · Assigned by mitre

CVE-2024-32487

High 8.6

In plain English

A high-severity security flaw in the less package (AlmaLinux). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.6%top 49.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8less530-3.el8_10ALSA-2024:4256
AlmaLinux:9less590-4.el9_4ALSA-2024:3513
Debian:12less590-2.1~deb12u2DEBIAN-CVE-2024-32487
Debian:12less590-2.1~deb12u2DSA-5679-1
Debian:13less590-2.1DEBIAN-CVE-2024-32487
Debian:14less590-2.1DEBIAN-CVE-2024-32487
Rocky Linux:8less0:530-3.el8_10RLSA-2024:4256
Rocky Linux:9less0:590-4.el9_4RLSA-2024:3513
Ubuntu:22.04:LTSless590-1ubuntu0.22.04.3UBUNTU-CVE-2024-32487
Ubuntu:22.04:LTSless590-1ubuntu0.22.04.3USN-6756-1
Ubuntu:24.04:LTSless590-2ubuntu2.1USN-6756-1
Ubuntu:24.04:LTSless590-2ubuntu2.1UBUNTU-CVE-2024-32487

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-96 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

References