Skip to content
Fencer Intel
high 8.1

CVE-2022-43548 in the critical feed json

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…

published 3y ago modified 2mo ago also BIT-node-2022-43548 , BIT-node-min-2022-43548 , EUVD-2022-46545

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
14.8%
EPSS 14.8% chance of exploitation in 30 days, percentile 96%
public exploits
0
none known

Summary

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.

Patch / fix

  • bitnami node 14.14.1, 14.21.1, 16.12.1, 16.18.1, 18.11.1, 18.12.1, 19.0.1
  • bitnami node-min 14.14.1, 14.21.1, 16.12.1, 16.18.1, 18.11.1, 18.12.1, 19.0.1
  • NodeJS Node 14.21.1, 16.18.1, 18.12.1, 19.0.1
  • nodejs Debian 14, Debian 13, Debian 12 18.12.1+dfsg-1

debian advisories DEBIAN-CVE-2022-43548

  • nodejs Ubuntu 20.04 LTS 10.19.0~dfsg-3ubuntu1.3
  • nodejs Ubuntu 22.04 LTS 12.22.9~dfsg-1ubuntu3.2
  • nodejs Ubuntu Pro 18.04 LTS 8.10.0~dfsg-2ubuntu0.4+esm4

ubuntu advisories UBUNTU-CVE-2022-43548

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • nodejs-packaging RHEL 8, RHEL 8.6 EUS, RHEL 8.4 EUS 23-3.module+el8.3.0+6519+9f98ed83
  • npm RHEL 8 1:6.14.17-1.14.21.1.2.module+el8.7.0+17528+a329cd47
  • nodejs RHEL 8 1:14.21.1-2.module+el8.7.0+17528+a329cd47
  • nodejs-nodemon RHEL 8 2.0.20-2.module+el8.7.0+17528+a329cd47
  • nodejs-full-i18n RHEL 8 1:14.21.1-2.module+el8.7.0+17528+a329cd47
  • npm RHEL 8 1:8.19.2-1.16.18.1.3.module+el8.7.0+17465+1a1abd74
  • nodejs RHEL 8 1:16.18.1-3.module+el8.7.0+17465+1a1abd74
  • nodejs-nodemon RHEL 8 2.0.20-2.module+el8.7.0+17412+bb0e4a6b

red hat advisories RHSA-2023:1742RHSA-2023:1533RHSA-2023:0050RHSA-2022:9073RHSA-2022:8832RHSA-2022:8833

  • nodejs18 SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.5, openSUSE Leap 15.4 18.13.0-150400.9.3.1
  • nodejs18 SLE Module for Web and Scripting 12 18.13.0-8.3.1
  • nodejs10 SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +18 more 10.24.1-150000.1.53.1
  • nodejs14 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +9 more 14.21.1-150200.15.40.2
  • nodejs12 SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLES 15 SP2-BCL +9 more 12.22.12-150200.4.41.2
  • nodejs16 SLE Module for Web and Scripting 15 SP3, openSUSE Leap 15.3 16.18.1-150300.7.15.1
  • nodejs16 SLE Module for Web and Scripting 15 SP4, openSUSE Leap 15.4 16.18.1-150400.3.12.1
  • nodejs12 SLE Module for Web and Scripting 12 12.22.12-1.57.1

suse advisories SUSE-SU-2023:0419-1SUSE-SU-2023:0408-1SUSE-SU-2022:4301-1SUSE-SU-2022:4255-1SUSE-SU-2022:4254-1SUSE-SU-2022:4084-1

  • nodejs18 openSUSE Tumbleweed 18.12.1-1.1
  • nodejs19 openSUSE Tumbleweed 19.0.1-1.1
  • nodejs-electron openSUSE Tumbleweed 21.3.2-2.1

opensuse advisories openSUSE-SU-2024:12488-1openSUSE-SU-2024:12489-1openSUSE-SU-2024:12554-1

  • nodejs AlmaLinux 9 1:16.18.1-3.el9_1
  • nodejs-nodemon AlmaLinux 9 2.0.20-2.el9_1
  • npm AlmaLinux 9 1:8.19.2-1.16.18.1.3.el9_1
  • nodejs-libs AlmaLinux 9 1:16.18.1-3.el9_1
  • nodejs-full-i18n AlmaLinux 9 1:16.18.1-3.el9_1
  • npm AlmaLinux 8 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43
  • nodejs AlmaLinux 8 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
  • nodejs-nodemon AlmaLinux 8 2.0.20-2.module_el8.7.0+3373+a4c18c43

almalinux advisories ALSA-2023:0321ALSA-2023:0050ALSA-2022:9073ALSA-2022:8832ALSA-2022:8833

  • nodejs Rocky Linux 9 1:16.18.1-3.el9_1
  • nodejs-nodemon Rocky Linux 9 2.0.20-2.el9_1
  • nodejs Rocky Linux 8 1:14.21.1-2.module+el8.7.0+1116+bd2a84b4
  • nodejs-nodemon Rocky Linux 8 2.0.20-2.module+el8.7.0+1108+49363b0d
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.7.0+1071+4bdda2a8
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.3.0+100+234774f7
  • nodejs-packaging Rocky Linux 8 23-3.module+el8.5.0+733+de4fee6c
  • nodejs Rocky Linux 8 1:16.18.1-3.module+el8.7.0+1108+49363b0d

rocky linux advisories RLSA-2023:0321RLSA-2023:0050RLSA-2022:9073RLSA-2022:8833RLSA-2022:8832

  • nodejs Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 18.12.1-r0

alpine advisories ALPINE-CVE-2022-43548

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • nodejs CBL-Mariner 2.0 16.18.1-2

azure linux advisories AZL-11577

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Is CVE-2022-43548 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-43548 updated cvss 7.5

nodejs: DNS rebinding in inspect via invalid octal IP address

  • Red Hat Enterprise Linux AppStream (v. 8) nodejs 14.21.1-2.module+el8.7.0+17528+a329cd47, nodejs 16.18.1-3.module+el8.7.0+17465+1a1abd74, nodejs 18.12.1-2.module+el8.7.0+17306+fc023f99, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-packaging 25-1.module+el8.5.0+10992+fac5fe06, npm 8.19.2-1.16.18.1.3.module+el8.7.0+17465+1a1abd74, +10 more
    fixed: vendor fix RHSA-2023:0050
  • Red Hat Enterprise Linux AppStream (v. 9) nodejs 16.18.1-3.el9_1, nodejs-libs 16.18.1-3.el9_1, npm 8.19.2-1.16.18.1.3.el9_1, nodejs-full-i18n 16.18.1-3.el9_1, nodejs 18.12.1-1.module+el9.1.0.z+17326+318294bb, npm 8.19.2-1.18.12.1.1.module+el9.1.0.z+17326+318294bb, +4 more
    fixed: vendor fix RHSA-2023:0321
  • Red Hat Enterprise Linux AppStream EUS (v.8.4) nodejs 14.21.3-1.module+el8.4.0+18317+43f5ac16, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.20-3.module+el8.4.0+18317+43f5ac16, npm 6.14.18-1.14.21.3.1.module+el8.4.0+18317+43f5ac16, nodejs-full-i18n 14.21.3-1.module+el8.4.0+18317+43f5ac16
    fixed: vendor fix RHSA-2023:1533
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) nodejs 14.21.3-1.module+el8.6.0+18532+cbe6f646, nodejs-packaging 23-3.module+el8.3.0+6519+9f98ed83, nodejs-nodemon 2.0.20-3.module+el8.6.0+18532+cbe6f646, npm 6.14.18-1.14.21.3.1.module+el8.6.0+18532+cbe6f646, nodejs-full-i18n 14.21.3-1.module+el8.6.0+18532+cbe6f646
    fixed: vendor fix RHSA-2023:1742
  • Red Hat Software Collections for RHEL Workstation(v. 7) rh-nodejs14-nodejs 14.21.1-3.el7, rh-nodejs14-npm 6.14.17-14.21.1.3.el7, rh-nodejs14-nodejs-nodemon 2.0.20-2.el7, rh-nodejs14-nodejs-full-i18n 14.21.1-3.el7 Red Hat Software Collections for RHEL(v. 7) rh-nodejs14-nodejs 14.21.1-3.el7, rh-nodejs14-npm 6.14.17-14.21.1.3.el7, rh-nodejs14-nodejs-nodemon 2.0.20-2.el7, rh-nodejs14-nodejs-full-i18n 14.21.1-3.el7
    fixed: vendor fix RHSA-2023:0612
  • Red Hat Enterprise Linux AppStream (v. 9) nodejs-nodemon 2.0.20-2.el9_1
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
last yr.

Exploit prediction

14.84% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV 3.1 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
bitnami node
>=14.0.0, <14.14.1
>=14.15.0, <14.21.1
>=16.0.0, <16.12.1
>=16.13.0, <16.18.1
>=18.0.0, <18.11.1
>=18.12.0, <18.12.1
>=19.0.0, <19.0.1
14.14.1
14.21.1
16.12.1
16.18.1
18.11.1
18.12.1
19.0.1
bitnami node-min
>=14.0.0, <14.14.1
>=14.15.0, <14.21.1
>=16.0.0, <16.12.1
>=16.13.0, <16.18.1
>=18.0.0, <18.11.1
>=18.12.0, <18.12.1
>=19.0.0, <19.0.1
14.14.1
14.21.1
16.12.1
16.18.1
18.11.1
18.12.1
19.0.1

Affected products

  • NodeJS Node

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.