Vulnerability · Published Jul 14, 2022 · Assigned by hackerone
CVE-2022-32212
High 8.1
In plain English
A high-severity improper access control in Node from NodeJS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.4% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)8.1High
Exploit odds (30 days)6.4%top 6.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 check if an IP address is invalid before making DBS requests allowing rebinding attacks.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | nodejs | 1:14.20.0-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux:9 | nodejs | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux:8 | nodejs-devel | 1:14.20.0-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux:8 | nodejs-docs | 1:14.20.0-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux:9 | nodejs-docs | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux:8 | nodejs-full-i18n | 1:14.20.0-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux:9 | nodejs-full-i18n | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux:9 | nodejs-libs | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux:8 | nodejs-nodemon | 2.0.19-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux:9 | nodejs-nodemon | 2.0.19-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux:8 | nodejs-packaging | 23-3.module_el8.5.0+2618+8d46dafd | ALSA-2022:6448 |
| AlmaLinux:8 | npm | 1:6.14.17-1.14.20.0.2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux:9 | npm | 1:8.11.0-1.16.16.0.1.el9_0 | ALSA-2022:6595 |
| Alpine:v3.20 | nodejs-current | 18.6.0-r0 | ALPINE-CVE-2022-32212 |
| Alpine:v3.21 | nodejs-current | 18.6.0-r0 | ALPINE-CVE-2022-32212 |
| Alpine:v3.22 | nodejs-current | 18.6.0-r0 | ALPINE-CVE-2022-32212 |
| Alpine:v3.23 | nodejs-current | 18.6.0-r0 | ALPINE-CVE-2022-32212 |
| Alpine:v3.24 | nodejs-current | 18.6.0-r0 | ALPINE-CVE-2022-32212 |
| Debian:12 | nodejs | 18.6.0+dfsg-3 | DEBIAN-CVE-2022-32212 |
| Debian:13 | nodejs | 18.6.0+dfsg-3 | DEBIAN-CVE-2022-32212 |
| Debian:14 | nodejs | 18.6.0+dfsg-3 | DEBIAN-CVE-2022-32212 |
| Rocky Linux:8 | nodejs | 1:16.16.0-3.module+el8.6.0+1003+ae94235a | RLSA-2022:6449 |
| Rocky Linux:8 | nodejs | 1:14.20.0-2.module+el8.6.0+1004+df064614 | RLSA-2022:6448 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.19-2.module+el8.6.0+1046+80feca58 | RLSA-2022:6449 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.19-2.module+el8.6.0+1003+ae94235a | RLSA-2022:6449 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.19-2.module+el8.6.0+1003+ae94235a | RLSA-2022:6448 |
| Rocky Linux:8 | nodejs-nodemon | 0:2.0.19-2.module+el8.6.0+1046+80feca58 | RLSA-2022:6448 |
| Rocky Linux:9 | nodejs-nodemon | 0:2.0.19-1.el9_0 | RLSA-2022:6595 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.3.0+100+234774f7 | RLSA-2022:6448 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.7.0+1071+4bdda2a8 | RLSA-2022:6448 |
| Rocky Linux:8 | nodejs-packaging | 0:23-3.module+el8.5.0+733+de4fee6c | RLSA-2022:6448 |
| Rocky Linux:8 | nodejs-packaging | 0:25-1.module+el8.6.0+1046+80feca58 | RLSA-2022:6449 |
| Rocky Linux:8 | nodejs-packaging | 0:25-1.module+el8.5.0+702+221f14e6 | RLSA-2022:6449 |
| Ubuntu:22.04:LTS | nodejs | 12.22.9~dfsg-1ubuntu3.2 | USN-6491-1 |
| Ubuntu:22.04:LTS | nodejs | 12.22.9~dfsg-1ubuntu3.2 | UBUNTU-CVE-2022-32212 |
Affected products (as reported)
Weakness: CWE-284