CVE-2022-32212

published 14 Jul 2022 · updated 30 Apr 2025

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 check if an IP address is invalid before making DBS requests allowing rebinding attacks.

8.1HighCVSS 8.1EPSS 6%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 6%. Fixed in 10.*, 11.*, 12.* and 12 more.

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 check if an IP address is invalid before making DBS requests allowing rebinding attacks.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
nodejs>=10.0 <10.*, >=11.0 <11.*, >=12.0 <12.*, >=13.0 <13.*, >=14.0 <14.20.1, >=15.0 <15.*, >=16.0 <16.17.1, >=17.0 <17.*, >=18.0 <18.9.1, >=4.0 <4.*, >=5.0 <5.*, >=6.0 <6.*, >=7.0 <7.*, >=8.0 <8.*, >=9.0 <9.*10.*, 11.*, 12.*, 13.*, 14.20.1, 15.*, 16.17.1, 17.*, 18.9.1, 4.*, 5.*, 6.*, 7.*, 8.*, 9.*

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-32212 severity on Zeptric[![CVE-2022-32212](https://zeptric.io/badge/cve/CVE-2022-32212.svg)](https://zeptric.io/cve/CVE-2022-32212)