CVE-2024-32487: High severity gwsw less vulnerability

Published Apr 13, 2024
·
Updated

less could allow a remote attacker to execute arbitrary commands on the system. By using a newline character in the name of a file, an attacker could exploit this vulnerability to execute arbitrary commands on the system.

Other sources

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.

Microsoft

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.

MITRE

Affected Software

12 affected componentsFixes available
gwsw less<653
IBM R10.0<=10.1.3.0 10.0.245.0
IBM R9.4<=89.42.18.0 89.41.25.0 89.40.83.0
IBM R9.3<=89.33.52.0 89.33.45.0
Greenwoodsoftware Less<=653
Debian Debian Linux=10.0
All of the following
NetApp Bootstrap Os
NetApp Hci Compute Node
NetApp Hci Storage Nodes
NetApp Solidfire
Microsoft cbl2 less 590-4
Microsoft azl3 less 643-2

Event History

Apr 13, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Apr 14, 2024
Data Sourced
via Red Hat·02:03 PM
DescriptionSeverityAffected Software
Apr 22, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-32487?

CVE-2024-32487 has been assigned a moderate severity level due to its potential for OS command execution.

2

How do I fix CVE-2024-32487?

To fix CVE-2024-32487, upgrade the 'less' package to version 654 or later.

3

Who is affected by CVE-2024-32487?

CVE-2024-32487 affects all users of the 'less' software version 653 and earlier.

4

What type of vulnerability is CVE-2024-32487?

CVE-2024-32487 is a command injection vulnerability that allows OS command execution through specially crafted file names.

5

What is the primary cause of CVE-2024-32487?

The primary cause of CVE-2024-32487 is improper handling of quoting in the filename.c file, which allows newline characters to be used maliciously.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203