cve.bz

CVE-2022-48624 greenwoodsoftware less: OS Command Injection

7.8 highEPSS 1.1%Fix available

High (7.8) in greenwoodsoftware less. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
close_altfile in filename.c in less before 606 omits shell_quote calls for LESSCLOSE.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 65th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-48624 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-48624?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-48624?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-48624 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
greenwoodsoftware:lessbefore 606

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10less487-0.1+deb10u1DLA-3823-1
Debian11less551-2+deb11u2DSA-5679-1
Debian12less590-2.1~deb12u2DEBIAN-CVE-2022-48624 DSA-5679-1
Debian13, 14less590-2.1DEBIAN-CVE-2022-48624
Ubuntu20.04:LTSless551-1ubuntu0.2UBUNTU-CVE-2022-48624 USN-6664-1
Ubuntu22.04:LTSless590-1ubuntu0.22.04.2UBUNTU-CVE-2022-48624 USN-6664-1
Ubuntu24.04:LTSless590-2ubuntu1UBUNTU-CVE-2022-48624
UbuntuPro:14.04:LTSless458-2ubuntu0.1~esm2UBUNTU-CVE-2022-48624 USN-8079-1
UbuntuPro:16.04:LTSless481-2.1ubuntu0.2+esm1UBUNTU-CVE-2022-48624 USN-6664-1
UbuntuPro:18.04:LTSless487-0.1ubuntu0.1~esm1UBUNTU-CVE-2022-48624 USN-6664-1
Red Hatenterprise_linux:8::baseosless, less-debuginfo, less-debugsource0:530-2.el8_9RHSA-2024:1610
Red Hatenterprise_linux:8::baseosless, less-debuginfo, less-debugsource0:530-3.el8_10RHSA-2024:4256
Red Hatenterprise_linux:9::baseosless, less-debuginfo, less-debugsource0:590-3.el9_3RHSA-2024:1692
Red Hatrhel_eus:8.6::baseosless, less-debuginfo, less-debugsource0:530-2.el8_6RHSA-2024:1989
Red Hatrhel_eus:8.8::baseosless, less-debuginfo, less-debugsource0:530-2.el8_8RHSA-2024:1875
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 moreless530-150000.3.6.2SUSE-SU-2024:1190-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 7 moreless590-150400.3.6.2SUSE-SU-2024:1192-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5less458-7.12.1SUSE-SU-2024:1189-1
openSUSELeap 15.5, Leap Micro 5.3, Leap Micro 5.4less590-150400.3.6.2SUSE-SU-2024:1192-1
AlmaLinux8less530-2.el8_9ALSA-2024:1610
AlmaLinux8less530-3.el8_10ALSA-2024:4256
AlmaLinux9less590-3.el9_3ALSA-2024:1692
Rocky Linux8less0:530-2.el8_9RLSA-2024:1610
Rocky Linux8less0:530-3.el8_10RLSA-2024:4256
Rocky Linux9less0:590-3.el9_3RLSA-2024:1692
Azure Linux2less590-3AZL-34458

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this issue, an attacker needs the ability to influence the LESSCLOSE environment variable. This requirement makes this CVE a Moderate impact CVE.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8less-0:530-2.el8_9Fixed 2024-04-02RHSA-2024:1610
Red Hat Enterprise Linux 8less-0:530-3.el8_10Fixed 2024-07-02RHSA-2024:4256
Red Hat Enterprise Linux 8.6 Extended Update Supportless-0:530-2.el8_6Fixed 2024-04-23RHSA-2024:1989
Red Hat Enterprise Linux 8.8 Extended Update Supportless-0:530-2.el8_8Fixed 2024-04-18RHSA-2024:1875
Red Hat Enterprise Linux 9less-0:590-3.el9_3Fixed 2024-04-08RHSA-2024:1692
RHOL-5.6-RHEL-8openshift-logging/cluster-logging-operator-bundle:v5.6.18-16Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/cluster-logging-rhel8-operator:v5.6.18-7Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch6-rhel8:v6.8.1-409Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch-operator-bundle:v5.6.18-16Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch-proxy-rhel8:v1.0.0-481Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/elasticsearch-rhel8-operator:v5.6.18-7Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/eventrouter-rhel8:v0.4.0-246Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/fluentd-rhel8:v1.14.6-216Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/kibana6-rhel8:v6.8.1-430Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/log-file-metric-exporter-rhel8:v1.1.0-226Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/logging-curator5-rhel8:v5.8.1-472Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/logging-loki-rhel8:v2.9.6-16Fixed 2024-05-01RHSA-2024:2092
RHOL-5.6-RHEL-8openshift-logging/logging-view-plugin-rhel8:v5.6.18-3Fixed 2024-05-01RHSA-2024:2092
Red Hat Enterprise Linux 6lessOut of support scope
Red Hat Enterprise Linux 7lessOut of support scope
23 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-48624.

Attack patterns (CAPEC)

  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON