RCE in Node.js Node
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 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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.149, 96.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Node.js Node — versions 4.0, 5.0, 6.0
- Node.js — versions 18.12.0, 19.0.0
- Debian Linux — versions 10.0, 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (actions-marketplace-validations/RafaelGSS_is-my-node-vulnerable, ARPSyndicate/cvemon, RafaelGSS/is-my-node-vulnerable). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- nodejs.org/en/blog/vulnerability/november-2022-security-releases/ (Patch, Vendor Advisory)
- security.netapp.com/advisory/ntap-20230120-0004/ (Third Party Advisory)
- DSA-5326 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20230226 [SECURITY] [DLA 3344-1] nodejs security update (mailing-list, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20230427-0007/