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.
Platform | Package | Release Date | Advisory |
---|---|---|---|
Amazon Linux 1 | less | 2025-01-30 04:16 | ALAS-2025-1958 |
Amazon Linux 2 - Core | less | 2024-05-23 22:04 | ALAS2-2024-2547 |
Amazon Linux 2023 | less | 2024-05-23 21:49 | ALAS2023-2024-622 |
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 |