CVE-2024-32487
CVE-2024-32487 is a high-severity vulnerability in Greenwoodsoftware Less with a CVSS 3.x base score of 8.6. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-96.
Key facts
- Severity: High (CVSS 3.x base score 8.6)
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-30291
- Weakness: CWE-96
- Affected product: Greenwoodsoftware Less
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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. 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.
- How severe is CVE-2024-32487?
- CVE-2024-32487 has a CVSS 3.x base score of 8.6, rated high severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-32487 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-32487?
- CVE-2024-32487 primarily affects Greenwoodsoftware Less. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2024-32487?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-32487 have an EU (EUVD) identifier?
- Yes. CVE-2024-32487 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-30291.
- When was CVE-2024-32487 published?
- CVE-2024-32487 was published on 2024-04-13 and last updated on 2026-06-17.
References
- http://www.openwall.com/lists/oss-security/2024/04/15/1
- https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33
- https://lists.debian.org/debian-lts-announce/2024/05/msg00018.html
- https://security.netapp.com/advisory/ntap-20240605-0009/
- https://www.openwall.com/lists/oss-security/2024/04/12/5
- https://www.openwall.com/lists/oss-security/2024/04/13/2
Affected products (5)
- cpe:2.3:a:greenwoodsoftware:less:*:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:hci_storage_nodes:-:*:*:*:*:*:*:*
- cpe:2.3:a:netapp:solidfire:-:*:*:*:*:*:*:*
More vulnerabilities in Greenwoodsoftware Less
- CVE-2022-48624 — High (CVSS 7.8): close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.
All CVEs affecting Greenwoodsoftware Less →
Other CWE-96 vulnerabilities
- CVE-2024-13264 — Critical (CVSS 9.8): Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection') vulnerability in Drupal Opigno…
- CVE-2023-39726 — Critical (CVSS 9.8): An issue in Mintty v.3.6.4 and before allows a remote attacker to execute arbitrary code via crafted commands to the…
- CVE-2022-0895 — Critical (CVSS 9.8): Static Code Injection in GitHub repository microweber/microweber prior to 1.3.
- CVE-2025-30091 — Critical (CVSS 9.4): In Tiny MoxieManager PHP before 4.0.0, remote code execution can occur in the installer command. This vulnerability…
- CVE-2025-57707 — High (CVSS 8.8): An improper neutralization of directives in statically saved code ('Static Code Injection') vulnerability has been…
- CVE-2024-13267 — High (CVSS 7.5): Improper Neutralization of Directives in Statically Saved Code ('Static Code Injection') vulnerability in Drupal Opigno…