CVE-2024-32487
- State
- Published
- Severity
- 8.6 High
- Published
- Apr 13, 2024
- Updated
- Aug 2, 2024
- Reserved
- Apr 13, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.6 High | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-96 Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection')
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://www.openwall.com/lists/oss-security/2024/04/13/2
- https://www.openwall.com/lists/oss-security/2024/04/12/5
- https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33
- [oss-security] 20240415 Re: less(1) with LESSOPEN mishandles \n in pathsmailing-list
- https://security.netapp.com/advisory/ntap-20240605-0009/
- [debian-lts-announce] 20240527 [SECURITY] [DLA 3823-1] less security updatemailing-list
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.