CVE-2022-48624: OS Command Injection

Published Feb 19, 2024
·
Updated

closealtfile in filename.c in less before 606 omits shellquote calls for LESSCLOSE.

Other sources

The closealtfile() function in filename.c in less before 606 omits shellquote calls for LESSCLOSE.

Upstream fix: https://github.com/gwsw/less/commit/c6ac6de49698be84d264a0c4c0c40bb870b10144

Red Hat

Affected Software

6 affected componentsFixes available
debian/less<=487-0.1, <=551-2, <=590-2
redhat/less<606
606
Greenwoodsoftware Less<606
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

Event History

Feb 19, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·01:15 AM
Description
Mar 2, 2024
Data Sourced
via Launchpad·07:15 PM
Description
May 27, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

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-2022-48624?

CVE-2022-48624 is considered a high-severity vulnerability due to its potential to allow local attackers to execute arbitrary commands.

2

How do I fix CVE-2022-48624?

To remediate CVE-2022-48624, upgrade to less version 606 or later.

3

Which versions of less are affected by CVE-2022-48624?

CVE-2022-48624 affects less versions prior to 606, specifically versions up to 487-0.1, 551-2, and 590-2.

4

Who is impacted by CVE-2022-48624?

Users of less prior to version 606 on Debian and versions prior to ISVG 10.0.2 on IBM Security Verify Governance are impacted by CVE-2022-48624.

5

What is the cause of CVE-2022-48624?

CVE-2022-48624 is caused by the omission of shell_quote calls for LESSCLOSE in the close_altfile function within less.

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