synced 12 MIN AGO
01 Record

CVE-2022-43548

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

HighPUBLISHEDCNA: hackerone
CNA base score8.1 CVSS v3.xCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

02 Description

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

03 Exploitation and scoring

Exploitation
Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
SSVC decision
  • ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
  • AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
  • Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
CISA publishes the decision points, not a final SSVC decision. The decision also depends on mission and well-being impact, which is a property of your deployment rather than of the vulnerability.
EPSS probability
14.83% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 96.6% of scored records. A rank, not a probability.
NVD base score
8.1 (CVSS v3.x), scored by the NVD independently of the CNA.
NVD CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD analysis status
Modified. NVD last modified this record on 2026-06-17.
Red Hat severity
Moderate. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2022-12-05 00:00Z3 YR AGO
Last updated
2025-04-30 05:55Z1 YR AGO
Reserved
2022-10-20
Assigning CNA
hackerone
Record state
PUBLISHED
Severity
High (CVSS 8.1)
CNA CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
  • CWE-350Reliance on Reverse DNS Resolution for a Security-Critical ActionVariant
Data version
5.1
Document digest
b34a6e9bd5621193fc2ffe754388d300a7c0856f9401561c18b52602e28726b6

05 Affected products

VendorProductVersionsPlatforms
NodeJSNode4.0 to < 4.*, 5.0 to < 5.*, 6.0 to < 6.*, 7.0 to < 7.*, 8.0 to < 8.*, 9.0 to < 9.*, 10.0 to < 10.*, 11.0 to < 11.*, 12.0 to < 12.*, 13.0 to < 13.*, 14.0 to < 14.21.1, 15.0 to < 15.*, 16.0 to < 16.18.1, 17.0 to < 17.*, 18.0 to < 18.12.1, 19.0 to < 19.0.1—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.0.20-1.module_el8.7.0+3370+40ccb2a8
    • Affected before 2.0.20-2.module_el8.7.0+3371+ed8c43db
    • Affected before 2.0.20-2.module_el8.7.0+3373+a4c18c43
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 23-3.module_el8.4.0+2522+3bd42762
    • Affected before 25-1.module_el8.5.0+2605+45d748af
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el8.7.0+3343+ea2b7901
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:8.19.2-1.18.12.1.2.module_el8.7.0+3370+40ccb2a8

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

AlmaLinux 9

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.18.1-3.el9_1
    • Affected before 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-devel
    Fixed in 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.18.1-3.el9_1
    • Affected before 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.18.1-3.el9_1
    • Affected before 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-libs
    Fixed in 1:16.18.1-3.el9_1
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.0.20-1.module_el9.1.0+16+91bc168f
    • Affected before 2.0.20-2.el9_1
  • nodejs-packaging
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:8.19.2-1.16.18.1.3.el9_1
    • Affected before 1:8.19.2-1.18.12.1.1.module_el9.1.0+16+91bc168f

Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 8

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-devel
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.0.20-1.module_el8.7.0+3370+40ccb2a8
    • Affected before 2.0.20-2.module_el8.7.0+3371+ed8c43db
    • Affected before 2.0.20-2.module_el8.7.0+3373+a4c18c43
  • nodejs-packaging
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
    • Affected before 23-3.module_el8.4.0+2522+3bd42762
    • Affected before 25-1.module_el8.5.0+2605+45d748af
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el8.7.0+3343+ea2b7901
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43
    • Affected before 1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43db
    • Affected before 1:8.19.2-1.18.12.1.2.module_el8.7.0+3370+40ccb2a8

Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

CloudLinux 9

  • nodejs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.18.1-3.el9_1
    • Affected before 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-devel
    Fixed in 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-docs
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.18.1-3.el9_1
    • Affected before 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-full-i18n
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:16.18.1-3.el9_1
    • Affected before 1:18.12.1-1.module_el9.1.0+16+91bc168f
  • nodejs-libs
    Fixed in 1:16.18.1-3.el9_1
  • nodejs-nodemon
    Fixed

    A version is affected if any line below covers it.

    • Affected before 2.0.20-1.module_el9.1.0+16+91bc168f
    • Affected before 2.0.20-2.el9_1
  • nodejs-packaging
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • nodejs-packaging-bundler
    Fixed in 2021.06-4.module_el9.1.0+13+d9a595ea
  • npm
    Fixed

    A version is affected if any line below covers it.

    • Affected before 1:8.19.2-1.16.18.1.3.el9_1
    • Affected before 1:8.19.2-1.18.12.1.1.module_el9.1.0+16+91bc168f

Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.

Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.

Debian 12

  • nodejs
    Fixed in 18.12.1+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • nodejs
    Fixed in 18.12.1+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • nodejs
    Fixed in 18.12.1+dfsg-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 20.04 LTS

  • nodejs
    Fixed in 10.19.0~dfsg-3ubuntu1.3

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu 22.04 LTS

  • nodejs
    Fixed in 12.22.9~dfsg-1ubuntu3.2

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

Ubuntu Pro 18.04 LTS

  • nodejs
    Fixed in 8.10.0~dfsg-2ubuntu0.4+esm4
    Available with Ubuntu Pro: https://ubuntu.com/pro

Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.