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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.63%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 8.6 HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 0.63% probability · 48th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-96
- Affected
- greenwoodsoftware/less · debian/debian linux · netapp/bootstrap os · netapp/hci storage nodes · netapp/solidfire
- Source
- cve@mitre.org
References
- http://www.openwall.com/lists/oss-security/2024/04/15/1Mailing List
- https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33Patch
- https://lists.debian.org/debian-lts-announce/2024/05/msg00018.htmlMailing List
- https://security.netapp.com/advisory/ntap-20240605-0009/Vendor Advisory
- https://www.openwall.com/lists/oss-security/2024/04/12/5Mailing List
- https://www.openwall.com/lists/oss-security/2024/04/13/2Mailing List, Patch
- http://www.openwall.com/lists/oss-security/2024/04/15/1Mailing List
- https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33Patch
- https://lists.debian.org/debian-lts-announce/2024/05/msg00018.htmlMailing List
- https://security.netapp.com/advisory/ntap-20240605-0009/Vendor Advisory
- https://www.openwall.com/lists/oss-security/2024/04/12/5Mailing List
- https://www.openwall.com/lists/oss-security/2024/04/13/2Mailing List, Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.