CVEfocus › CVE database › CVE-2022-43548

CVE-2022-43548

CVSS 8.1 HighEPSS 14.9% (higher than 97% of CVEs)Published 2022-12-05Updated 2025-04-30Assigner: hackerone

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.

CWE-78

What to do

Likely to be exploited: EPSS gives a 15% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

53Fixed
2Fix pending

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04nodejsFixed12.22.9~dfsg-1ubuntu3.2UBUNTU-CVE-2022-43548
Ubuntu 20.04nodejsFixed10.19.0~dfsg-3ubuntu1.3UBUNTU-CVE-2022-43548
Ubuntu 18.04nodejsFix pending8.10.0~dfsg-2ubuntu0.4+esm4 (Ubuntu Pro)UBUNTU-CVE-2022-43548
Ubuntu 16.04nodejsFix pending
Debian 14nodejsFixed18.12.1+dfsg-1DEBIAN-CVE-2022-43548
Debian 13nodejsFixed18.12.1+dfsg-1DEBIAN-CVE-2022-43548
Debian 12nodejsFixed18.12.1+dfsg-1DEBIAN-CVE-2022-43548
Red Hat Enterprise Linux 9nodejsFixed1:16.18.1-3.el9_1RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-develFixed1:18.12.1-1.module+el9.1.0.z+17326+318294bbRHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-docsFixed1:18.12.1-1.module+el9.1.0.z+17326+318294bbRHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:16.18.1-3.el9_1RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-libsFixed1:16.18.1-3.el9_1RHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:2.0.20-1.module+el9.1.0.z+17326+318294bbRHSA-2023:0321
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2022:8832
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2022:8832
Red Hat Enterprise Linux 9npmFixed1:8.19.2-1.16.18.1.3.el9_1RHSA-2022:8832
Red Hat Enterprise Linux 8nodejsFixed1:14.21.1-2.module+el8.7.0+17528+a329cd47RHSA-2022:9073
Red Hat Enterprise Linux 8nodejs-develFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-docsFixed1:16.18.1-3.module+el8.7.0+17465+1a1abd74RHSA-2022:8833
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:18.12.1-2.module+el8.7.0+17306+fc023f99RHSA-2022:9073
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:2.0.20-1.module+el8.7.0+17282+f47dd33bRHSA-2023:0050
Red Hat Enterprise Linux 8nodejs-packagingFixed0:25-1.module+el8.5.0+10992+fac5fe06RHSA-2022:8833
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-4.module+el8.7.0+15582+19c314faRHSA-2022:8833
Red Hat Enterprise Linux 8npmFixed1:8.19.2-1.18.12.1.2.module+el8.7.0+17306+fc023f99RHSA-2022:9073
AlmaLinux 9nodejsFixed1:16.18.1-3.el9_1ALSA-2022:8832
AlmaLinux 9nodejs-develFixed1:18.12.1-1.module_el9.1.0+16+91bc168fALSA-2022:8832
AlmaLinux 9nodejs-docsFixed1:18.12.1-1.module_el9.1.0+16+91bc168fALSA-2023:0321
AlmaLinux 9nodejs-full-i18nFixed1:16.18.1-3.el9_1ALSA-2022:8832
AlmaLinux 9nodejs-libsFixed1:16.18.1-3.el9_1ALSA-2023:0321
AlmaLinux 9nodejs-nodemonFixed2.0.20-2.el9_1ALSA-2022:8832
AlmaLinux 9nodejs-packagingFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2022:8832
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2022:8832
AlmaLinux 9npmFixed1:8.19.2-1.18.12.1.1.module_el9.1.0+16+91bc168fALSA-2023:0321
AlmaLinux 8nodejsFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2022:8833
AlmaLinux 8nodejs-develFixed1:18.12.1-2.module_el8.7.0+3370+40ccb2a8ALSA-2023:0050
AlmaLinux 8nodejs-docsFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2023:0050
AlmaLinux 8nodejs-full-i18nFixed1:16.18.1-3.module_el8.7.0+3371+ed8c43dbALSA-2023:0050
AlmaLinux 8nodejs-nodemonFixed2.0.20-2.module_el8.7.0+3371+ed8c43dbALSA-2023:0050
AlmaLinux 8nodejs-packagingFixed23-3.module_el8.4.0+2522+3bd42762ALSA-2022:8833
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2022:8833
AlmaLinux 8npmFixed1:8.19.2-1.18.12.1.2.module_el8.7.0+3370+40ccb2a8ALSA-2023:0050
Rocky Linux 9nodejsFixed1:16.18.1-3.el9_1RLSA-2023:0321
Rocky Linux 9nodejs-nodemonFixed0:2.0.20-2.el9_1RLSA-2023:0321
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.6.0+32048+5323bb50RLSA-2022:8832
Rocky Linux 8nodejsFixed1:14.21.1-2.module+el8.7.0+1116+bd2a84b4RLSA-2022:8833
Rocky Linux 8nodejs-nodemonFixed0:2.0.20-1.module+el8.7.0+1104+549f92a6RLSA-2023:0050
Rocky Linux 8nodejs-packagingFixed0:23-3.module+el8.3.0+100+234774f7RLSA-2023:0050
Alpine Linux 3.24nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.23nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.22nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.21nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.20nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.19nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.18nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548
Alpine Linux 3.17nodejsFixed18.12.1-r0ALPINE-CVE-2022-43548

What the vendor says

As published in the CVE record by hackerone, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.