cve.bz

CVE-2022-43548 OS Command Injection

8.1 highEPSS 15%Fix available

High (8.1). EPSS 15% estimated probability of exploitation activity in the next 30 days.

On this page
A OS Command Injection vulnerability exists in Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.The fix for this issue in https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-32212 was incomplete and this new CVE is to complete the fix.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
15% (unchanged from 15% a week ago; 15% 30 days ago) estimated probability of exploitation activity in the next 30 days; 97th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2025-04-24. 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-43548 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-43548?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-43548?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-43548 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 CNA's record in the CVE List.

ProductAffected
NodeJS Nodefrom 4.0 before 4.*
NodeJS Nodefrom 5.0 before 5.*
NodeJS Nodefrom 6.0 before 6.*
NodeJS Nodefrom 7.0 before 7.*
NodeJS Nodefrom 8.0 before 8.*
NodeJS Nodefrom 9.0 before 9.*
NodeJS Nodefrom 10.0 before 10.*
NodeJS Nodefrom 11.0 before 11.*
NodeJS Nodefrom 12.0 before 12.*
NodeJS Nodefrom 13.0 before 13.*
NodeJS Nodefrom 14.0 before 14.21.1
NodeJS Nodefrom 15.0 before 15.*
NodeJS Nodefrom 16.0 before 16.18.1
NodeJS Nodefrom 17.0 before 17.*
NodeJS Nodefrom 18.0 before 18.12.1
NodeJS Nodefrom 19.0 before 19.0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10nodejs10.24.0~dfsg-1~deb10u3DLA-3344-1
Debian11nodejs12.22.12~dfsg-1~deb11u3DSA-5326-1
Debian12, 13, 14nodejs18.12.1+dfsg-1DEBIAN-CVE-2022-43548
Ubuntu20.04:LTSnodejs10.19.0~dfsg-3ubuntu1.3UBUNTU-CVE-2022-43548 USN-6491-1
Ubuntu22.04:LTSnodejs12.22.9~dfsg-1ubuntu3.2UBUNTU-CVE-2022-43548 USN-6491-1
UbuntuPro:18.04:LTSnodejs8.10.0~dfsg-2ubuntu0.4+esm4UBUNTU-CVE-2022-43548 USN-6491-1
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs, nodejs-docs, nodejs-devel and 3 more1:18.12.1-2.module+el8.7.0+17306+fc023f99RHSA-2022:8833
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-1.module+el8.7.0+17282+f47dd33bRHSA-2022:8833
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.7.0+17412+bb0e4a6bRHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs-nodemon0:2.0.20-2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnodejs-packaging0:25-1.module+el8.5.0+10992+fac5fe06RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnodejs-packaging, nodejs-packaging-bundler0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2022:8833
Red Hatenterprise_linux:8::appstreamnpm1:6.14.17-1.14.21.1.2.module+el8.7.0+17528+a329cd47RHSA-2023:0050
Red Hatenterprise_linux:8::appstreamnpm1:8.19.2-1.16.18.1.3.module+el8.7.0+17465+1a1abd74RHSA-2022:9073
Red Hatenterprise_linux:8::appstreamnpm1:8.19.2-1.18.12.1.2.module+el8.7.0+17306+fc023f99RHSA-2022:8833
18 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 16 morenodejs1010.24.1-150000.1.53.1SUSE-SU-2022:4301-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 morenodejs1212.22.12-150200.4.41.2SUSE-SU-2022:4254-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 morenodejs1414.21.1-150200.15.40.2SUSE-SU-2022:4255-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1212.22.12-1.57.1SUSE-SU-2022:3989-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1414.21.1-6.37.1SUSE-SU-2022:3968-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1616.18.1-8.17.1SUSE-SU-2022:3967-1
SUSELinux Enterprise Module for Web and Scripting 12nodejs1818.13.0-8.3.1SUSE-SU-2023:0408-1
SUSELinux Enterprise Module for Web and Scripting 15 SP3nodejs1616.18.1-150300.7.15.1SUSE-SU-2022:4084-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4nodejs1616.18.1-150400.3.12.1SUSE-SU-2022:4003-1
SUSELinux Enterprise Module for Web and Scripting 15 SP4nodejs1818.13.0-150400.9.3.1SUSE-SU-2023:0419-1
openSUSELeap 15.3nodejs1616.18.1-150300.7.15.1SUSE-SU-2022:4084-1
openSUSELeap 15.3, Leap 15.4nodejs1010.24.1-150000.1.53.1SUSE-SU-2022:4301-1
openSUSELeap 15.3, Leap 15.4nodejs1212.22.12-150200.4.41.2SUSE-SU-2022:4254-1
openSUSELeap 15.3, Leap 15.4nodejs1414.21.1-150200.15.40.2SUSE-SU-2022:4255-1
openSUSELeap 15.4nodejs1616.18.1-150400.3.12.1SUSE-SU-2022:4003-1
openSUSELeap 15.4, Leap 15.5nodejs1818.13.0-150400.9.3.1SUSE-SU-2023:0419-1
openSUSETumbleweednodejs-electron21.3.2-2.1openSUSE-SU-2024:12554-1
openSUSETumbleweednodejs1818.12.1-1.1openSUSE-SU-2024:12488-1
openSUSETumbleweednodejs1919.0.1-1.1openSUSE-SU-2024:12489-1
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:14.21.1-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8nodejs, nodejs-docs, nodejs-devel and 1 more1:18.12.1-2.module_el8.7.0+3370+40ccb2a8ALSA-2022:8833
AlmaLinux8nodejs-nodemon2.0.20-1.module_el8.7.0+3370+40ccb2a8ALSA-2022:8833
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8nodejs-nodemon2.0.20-2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8nodejs-packaging23-3.module_el8.4.0+2522+3bd42762ALSA-2023:0050
AlmaLinux8nodejs-packaging25-1.module_el8.5.0+2605+45d748afALSA-2022:9073
AlmaLinux8nodejs-packaging, nodejs-packaging-bundler2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2022:8833
AlmaLinux8npm1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43ALSA-2023:0050
AlmaLinux8npm1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43dbALSA-2022:9073
AlmaLinux8npm1:8.19.2-1.18.12.1.2.module_el8.7.0+3370+40ccb2a8ALSA-2022:8833
7 more for AlmaLinux in the JSON.
Rocky Linux8nodejs1:14.21.1-2.module+el8.7.0+1116+bd2a84b4RLSA-2023:0050
Rocky Linux8nodejs1:16.18.1-3.module+el8.7.0+1108+49363b0dRLSA-2022:9073
Rocky Linux8nodejs1:18.12.1-2.module+el8.7.0+1104+549f92a6RLSA-2022:8833
Rocky Linux8nodejs-nodemon0:2.0.20-1.module+el8.7.0+1104+549f92a6RLSA-2022:8833
Rocky Linux8nodejs-nodemon0:2.0.20-2.module+el8.7.0+1108+49363b0dRLSA-2022:9073 RLSA-2023:0050
Rocky Linux8nodejs-packaging0:2021.06-4.module+el8.7.0+1072+5b168780RLSA-2022:8833
Rocky Linux8nodejs-packaging0:23-3.module+el8.3.0+100+234774f7RLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.5.0+733+de4fee6cRLSA-2023:0050
Rocky Linux8nodejs-packaging0:23-3.module+el8.7.0+1071+4bdda2a8RLSA-2023:0050
Rocky Linux8nodejs-packaging0:25-1.module+el8.5.0+702+221f14e6RLSA-2022:9073
Rocky Linux8nodejs-packaging0:25-1.module+el8.6.0+1046+80feca58RLSA-2022:9073
Rocky Linux9nodejs1:16.18.1-3.el9_1RLSA-2023:0321
8 more for Rocky Linux in the JSON.
Alpinev3.17, v3.18, v3.19 and 5 morenodejs18.12.1-r0ALPINE-CVE-2022-43548
Azure Linux2nodejs16.18.1-2AZL-11577

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; the Alpine secdb, CC BY-SA 4.0; 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 · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Redhat has marked this vulnerability as moderate for two primary reasons.

1. The vulnerable inspect functionality might not be enabled, exposed, or reachable in many deployments.

2.The code path might require very specific configurations or conditions (e.g. DNS rebinding, certain host/IP setups) that are rare in default environments.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8nodejs:18-8070020221118123310.bd1311edFixed 2022-12-06RHSA-2022:8833
Red Hat Enterprise Linux 8nodejs:16-8070020221207164159.bd1311edFixed 2022-12-15RHSA-2022:9073
Red Hat Enterprise Linux 8nodejs:14-8070020221212161539.bd1311edFixed 2023-01-09RHSA-2023:0050
Red Hat Enterprise Linux 8.4 Extended Update Supportnodejs:14-8040020230306170312.522a0ee4Fixed 2023-03-30RHSA-2023:1533
Red Hat Enterprise Linux 8.6 Extended Update Supportnodejs:14-8060020230306170237.ad008a3aFixed 2023-04-12RHSA-2023:1742
Red Hat Enterprise Linux 9nodejs:18-9010020221118120946.rhel9Fixed 2022-12-06RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-1:16.18.1-3.el9_1Fixed 2023-01-23RHSA-2023:0321
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-0:14.21.1-3.el7Fixed 2023-02-06RHSA-2023:0612
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-nodejs14-nodejs-nodemon-0:2.0.20-2.el7Fixed 2023-02-06RHSA-2023:0612

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-43548.

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