synced 1 MIN AGO
01 Record

CVE-2022-32212

A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly

UnratedPUBLISHEDCNA: hackerone
CNA base scoreUnratedNo CNA CVSS vector

02 Description

A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
6.43% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 93.4% 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-07-14 00:00Z4 YR AGO
Last updated
2025-04-30 22:24Z1 YR AGO
Reserved
2022-06-01
Assigning CNA
hackerone
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-284Improper Access ControlPillar
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
  • CWE-703Improper Check or Handling of Exceptional ConditionsPillar
Data version
5.1
Document digest
aad622f0442db2476e019b5c87b4643cc368ef39cf5447b1c3a64f13afa98863

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.20.1, 15.0 to < 15.*, 16.0 to < 16.17.1, 17.0 to < 17.*, 18.0 to < 18.9.1—

06 References

07 Fixed in

AlmaLinux 8

  • nodejs
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-devel
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-docs
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-full-i18n
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-nodemon
    Fixed in 2.0.19-2.module_el8.6.0+3261+490666b3
  • nodejs-packaging
    Fixed in 23-3.module_el8.5.0+2618+8d46dafd
  • npm
    Fixed in 1:6.14.17-1.14.20.0.2.module_el8.6.0+3261+490666b3

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 in 1:16.16.0-1.el9_0
  • nodejs-docs
    Fixed in 1:16.16.0-1.el9_0
  • nodejs-full-i18n
    Fixed in 1:16.16.0-1.el9_0
  • nodejs-libs
    Fixed in 1:16.16.0-1.el9_0
  • nodejs-nodemon
    Fixed in 2.0.19-1.el9_0
  • npm
    Fixed in 1:8.11.0-1.16.16.0.1.el9_0

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 in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-devel
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-docs
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-full-i18n
    Fixed in 1:14.20.0-2.module_el8.6.0+3261+490666b3
  • nodejs-nodemon
    Fixed in 2.0.19-2.module_el8.6.0+3261+490666b3
  • nodejs-packaging
    Fixed in 23-3.module_el8.5.0+2618+8d46dafd
  • npm
    Fixed in 1:6.14.17-1.14.20.0.2.module_el8.6.0+3261+490666b3

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 in 1:16.16.0-1.el9_0
  • nodejs-docs
    Fixed in 1:16.16.0-1.el9_0
  • nodejs-full-i18n
    Fixed in 1:16.16.0-1.el9_0
  • nodejs-libs
    Fixed in 1:16.16.0-1.el9_0
  • nodejs-nodemon
    Fixed in 2.0.19-1.el9_0
  • npm
    Fixed in 1:8.11.0-1.16.16.0.1.el9_0

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.6.0+dfsg-3

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

Debian 13

  • nodejs
    Fixed in 18.6.0+dfsg-3

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

Debian 14

  • nodejs
    Fixed in 18.6.0+dfsg-3

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.