CVE-2024-32487

Public on 2024-04-13
Modified on 2024-04-18
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.

Severity
Important
See what this means
CVSS v3 Base Score
7.0
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 1 less 2025-02-05 ALAS-2025-1958
Amazon Linux 2 - Core less 2024-05-30 ALAS2-2024-2547
Amazon Linux 2023 less 2024-05-28 ALAS2023-2024-622

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.0 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H