OS Command Injection Affecting less package, versions *
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-CENTOS6-LESS-6614864
- published 15 Apr 2024
- disclosed 13 Apr 2024
Introduced: 13 Apr 2024
New CVE-2024-32487 Open this link in a new tabHow to fix?
There is no fixed version for Centos:6
less
.
NVD Description
Note: Versions mentioned in the description apply only to the upstream less
package and not the less
package as distributed by Centos
.
See How to fix?
for Centos:6
relevant fixed versions and status.
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.
References
- https://access.redhat.com/security/cve/CVE-2024-32487
- https://github.com/gwsw/less/commit/007521ac3c95bc76e3d59c6dbfe75d06c8075c33
- https://www.openwall.com/lists/oss-security/2024/04/12/5
- https://www.openwall.com/lists/oss-security/2024/04/13/2
- http://www.openwall.com/lists/oss-security/2024/04/15/1