High severity · published Apr 13, 2024
CVE-2024-32487
less through 653 allows OS command execution via a newline character in the name of a file, because quoting is mishandled in filename.c
8.6
CVSS
0.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 50% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BO
Bootstrap OS · Netapp
All versions, or not specified · source: NVD
DL
Debian Linux · Debian
10.0 · source: NVD
HS
Hci Storage Nodes · Netapp
All versions, or not specified · source: NVD
LE
Less · Greenwoodsoftware
through 653 · source: NVD
SO
Solidfire · Netapp
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-32487
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-32487
Mailing List
http://www.openwall.com/lists/oss-security/2024/04/15/1
Patch
https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33
Mailing List
https://lists.debian.org/debian-lts-announce/2024/05/msg00018.html
Vendor Advisory
https://security.netapp.com/advisory/ntap-20240605-0009/
Mailing List
https://www.openwall.com/lists/oss-security/2024/04/12/5
Mailing List
https://www.openwall.com/lists/oss-security/2024/04/13/2
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-24061
GNU InetUtils Argument Injection Vulnerability
