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

9 affected componentsFixes available
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
debian/less<590-2.1~deb12u2
590-2.1~deb12u2
debian/less<590-2.1
590-2.1
debian/less<590-2.1
590-2.1
debian/less
487-0.1+deb10u1551-2+deb11u2590-2.1~deb12u2590-2.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/less to a version that resolves this vulnerability.

    Fixed in 606
  2. Upgrade

    Upgrade debian/less to a version that resolves this vulnerability.

    Fixed in 590-2.1~deb12u2
  3. Upgrade

    Upgrade debian/less to a version that resolves this vulnerability.

    Fixed in 590-2.1
  4. Upgrade

    Upgrade debian/less to a version that resolves this vulnerability.

    Fixed in 487-0.1+deb10u1Fixed in 551-2+deb11u2Fixed in 590-2.1~deb12u2Fixed in 590-2.1
  5. Upgrade

    Upgrade less to a version that resolves this vulnerability.

    Fixed in 606

Event History

Feb 19, 2024
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via NVD·01:15 AM
Description
Data Sourced
via OSV·01:15 AM
DescriptionAffected Software
Feb 20, 2024
Data Sourced
via Red Hat·09:18 AM
DescriptionSeverityAffected Software
May 9, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Oct 16, 2024
Updated
via IBM·12:00 AM
Affected Software
Feb 26, 2025
Data Sourced
via NVD·03:14 PM
RemedySeverityAffected Software
Event
via NVD·03:14 PM
Updated
via NVD·09:46 PM
Affected Software
Mar 27, 2025
Data Sourced
via NVD·03:15 PM
Weakness
Updated
via NVD·03:15 PM
SeverityAffected Software
May 27, 2025
Updated
via IBM·12:00 AM
DescriptionAffected Software
Nov 3, 2026
Data Sourced
via OSV·08:02 AM
Severity

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

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