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 c
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 14.5% (FIRST EPSS); higher than 96.6% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: NodeJS Node 10.*, 11.*, 12.*.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to NodeJS Node 10.*, 11.*, 12.* or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- BDU:2022-06821
- ALSA-2022:8832
- ALSA-2022:8833
- ALSA-2022:9073
- ALSA-2023:0050
- ALSA-2023:0321
- DLA-3344-1
- DSA-5326-1
- openSUSE-SU-2024:12488-1
- openSUSE-SU-2024:12489-1
- openSUSE-SU-2024:12554-1
- RHSA-2022:8832
- RHSA-2022:8833
- RHSA-2022:9073
- RHSA-2023:0050
- RHSA-2023:0321
- RHSA-2023:0612
- RHSA-2023:1533
- RHSA-2023:1742
- RLSA-2022:8832
- Published
- Dec 5, 2022
- Updated
- Jun 17, 2026
- EPSS
- 14.5% · 96th percentile
- CWE
- CWE-78
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 4 / 30 · 14.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| nodejs | node.js | cpe:2.3:a:nodejs:node.js |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Using node.js? Add it to your stack and be the first to know about CVEs like this one. (Node.js)
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- nodejs node.js14.0.0 and later · up to 14.14.0 inclusive
- nodejs node.js14.15.0 and later · before 14.21.1
- nodejs node.js16.0.0 and later · up to 16.12.0 inclusive
- nodejs node.js16.13.0 and later · before 16.18.1
- nodejs node.js18.0.0 and later · up to 18.11.0 inclusive
- nodejs node.js18.12.0
- nodejs node.js19.0.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.
NodeJS Node
- 4.0 and later · before 4.*affected · semver
- 5.0 and later · before 5.*affected · semver
- 6.0 and later · before 6.*affected · semver
- 7.0 and later · before 7.*affected · semver
- 8.0 and later · before 8.*affected · semver
- 9.0 and later · before 9.*affected · semver
- 10.0 and later · before 10.*affected · semver
- 11.0 and later · before 11.*affected · semver
- 12.0 and later · before 12.*affected · semver
- 13.0 and later · before 13.*affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | nodejs | before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db |
| AlmaLinux:8 | nodejs | before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 | 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 |
| AlmaLinux:8 | nodejs | before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 |
| AlmaLinux:8 | nodejs-devel | before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 |
| AlmaLinux:8 | nodejs-devel | before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db |
| AlmaLinux:8 | nodejs-devel | before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 | 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 |
| AlmaLinux:8 | nodejs-docs | before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 | 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 |
| AlmaLinux:8 | nodejs-docs | before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db |
| AlmaLinux:8 | nodejs-docs | before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:16.18.1-3.module_el8.7.0+3371+ed8c43db | 1:16.18.1-3.module_el8.7.0+3371+ed8c43db |
| AlmaLinux:8 | nodejs-full-i18n | before 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 | 1:18.12.1-2.module_el8.7.0+3370+40ccb2a8 |
| AlmaLinux:8 | nodejs-full-i18n | before 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 | 1:14.21.1-2.module_el8.7.0+3373+a4c18c43 |
| AlmaLinux:8 | nodejs-nodemon | before 2.0.20-2.module_el8.7.0+3373+a4c18c43 | 2.0.20-2.module_el8.7.0+3373+a4c18c43 |
| AlmaLinux:8 | nodejs-nodemon | before 2.0.20-2.module_el8.7.0+3371+ed8c43db | 2.0.20-2.module_el8.7.0+3371+ed8c43db |
| AlmaLinux:8 | nodejs-nodemon | before 2.0.20-1.module_el8.7.0+3370+40ccb2a8 | 2.0.20-1.module_el8.7.0+3370+40ccb2a8 |
| AlmaLinux:8 | nodejs-packaging | before 2021.06-4.module_el8.7.0+3343+ea2b7901 | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux:8 | nodejs-packaging | before 23-3.module_el8.4.0+2522+3bd42762 | 23-3.module_el8.4.0+2522+3bd42762 |
| AlmaLinux:8 | nodejs-packaging | before 25-1.module_el8.5.0+2605+45d748af | 25-1.module_el8.5.0+2605+45d748af |
| AlmaLinux:8 | nodejs-packaging-bundler | before 2021.06-4.module_el8.7.0+3343+ea2b7901 | 2021.06-4.module_el8.7.0+3343+ea2b7901 |
| AlmaLinux:8 | npm | before 1:8.19.2-1.18.12.1.2.module_el8.7.0+3370+40ccb2a8 | 1:8.19.2-1.18.12.1.2.module_el8.7.0+3370+40ccb2a8 |
| AlmaLinux:8 | npm | before 1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43db | 1:8.19.2-1.16.18.1.3.module_el8.7.0+3371+ed8c43db |
| AlmaLinux:8 | npm | before 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43 | 1:6.14.17-1.14.21.1.2.module_el8.7.0+3373+a4c18c43 |
| AlmaLinux:9 | nodejs | before 1:16.18.1-3.el9_1 | 1:16.18.1-3.el9_1 |
| AlmaLinux:9 | nodejs | before 1:18.12.1-1.module_el9.1.0+16+91bc168f | 1:18.12.1-1.module_el9.1.0+16+91bc168f |
+96
Same product
nodejs: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-15605HTTP request smuggling in Node.js 10, 12, and 13 causes malicious payload delivery when transfer-encoding is malformed56Plan
- CVE-2021-22883Node.js before 10.24.0, 12.21.0, 14.16.0, and 15.10.0 is vulnerable to a denial of service attack when too many connection attempts with an 53Plan
- CVE-2021-22930Node.js before 16.6.0, 14.17.4, and 12.22.4 is vulnerable to a use after free attack where an attacker might be able to exploit the memory c50Plan
Published before and after this one in the same product
- ← EarlierCVE-2022-32223Jul 14, 2022 · Node.js is vulnerable to Hijack Execution Flow: DLL Hijacking under certain conditions on Windows platforms.This vulnerability can be exploi30Monitor
- ← EarlierCVE-2022-35255Dec 5, 2022 · A weak randomness in WebCrypto keygen vulnerability exists in Node.js 18 due to a change with EntropySource() in SecretKeyGenTraits::DoKeyGe37Monitor
- Later →CVE-2023-23936Feb 16, 2023 · CRLF Injection in Nodejs ‘undici’ via host21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| NodeJS Node | 10.* | Vendor (CNA) |
| NodeJS Node | 11.* | Vendor (CNA) |
| NodeJS Node | 12.* | Vendor (CNA) |
| NodeJS Node | 13.* | Vendor (CNA) |
| NodeJS Node | 14.21.1 | Vendor (CNA) |
| NodeJS Node | 15.* | Vendor (CNA) |
| NodeJS Node | 16.18.1 | Vendor (CNA) |
| NodeJS Node | 17.* | Vendor (CNA) |
| NodeJS Node | 18.12.1 | Vendor (CNA) |
| NodeJS Node | 19.0.1 | Vendor (CNA) |
| NodeJS Node | 4.* | Vendor (CNA) |
| NodeJS Node | 5.* | Vendor (CNA) |
| NodeJS Node | 6.* | Vendor (CNA) |
| NodeJS Node | 7.* | Vendor (CNA) |
| NodeJS Node | 8.* | Vendor (CNA) |
| NodeJS Node | 9.* | Vendor (CNA) |
| almalinux:nodejs | 1:18.12.1-1.module_el9.1.0+16+91bc168f · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-devel | 1:18.12.1-1.module_el9.1.0+16+91bc168f · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-docs | 1:18.12.1-1.module_el9.1.0+16+91bc168f · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-full-i18n | 1:18.12.1-1.module_el9.1.0+16+91bc168f · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-libs | 1:16.18.1-3.el9_1 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-nodemon | 2.0.20-1.module_el9.1.0+16+91bc168f · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-packaging | 2021.06-4.module_el9.1.0+13+d9a595ea · AlmaLinux:9 | Package registry (OSV) |
| almalinux:nodejs-packaging-bundler | 2021.06-4.module_el9.1.0+13+d9a595ea · AlmaLinux:9 | Package registry (OSV) |
| almalinux:npm | 1:8.19.2-1.18.12.1.1.module_el9.1.0+16+91bc168f · AlmaLinux:9 | Package registry (OSV) |
| alpine:nodejs | 18.12.1-r0 · Alpine:v3.17 | Package registry (OSV) |
| debian:nodejs | 18.12.1+dfsg-1 · Debian:12 | Package registry (OSV) |
| opensuse:nodejs-electron | 21.3.2-2.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:nodejs10 | 10.24.1-150000.1.53.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| opensuse:nodejs12 | 12.22.12-150200.4.41.2 · openSUSE:Leap 15.3 | Package registry (OSV) |
+28
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-23-0047 · Jan 25, 2023(Node JS Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Root cause
User input is inserted as text into a shell command. The shell may interpret special characters in the input as part of the command.
The bug in code
The whole CWE-78 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const host = req.body.host;exec("ping -c 1 " + host, onResult);Fixed
const host = req.body.host;if (!/^[a-z0-9.-]{1,253}$/i.test(host)) return res.sendStatus(400);execFile("ping", ["-c", "1", host], onResult);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Command DelimitersCAPEC-15likelihood: High · High
- Exploiting Multiple Input Interpretation LayersCAPEC-43likelihood: Medium · High
- Argument InjectionCAPEC-6likelihood: High · High
- OS Command InjectionCAPEC-88likelihood: High · High
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.