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...
HighCVSS 8.1
EPSS 6.4%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
20 packages: 17 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nodejs node | >= 4.0; >= 5.0; >= 6.0; >= 7.0 +11 more | 14.20.1, 16.17.1, 18.9.1 | Partially fixed |
| alpine/nodejs-current(Alpine v3.16) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.17) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.18) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.19) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.20) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.21) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.22) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.23) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| alpine/nodejs-current(Alpine v3.24) | < 18.6.0-r0 | 18.6.0-r0 | Fixed |
| debian/nodejs(Debian 12) | < 18.6.0+dfsg-3 | 18.6.0+dfsg-3 | Fixed |
| debian/nodejs(Debian 13) | < 18.6.0+dfsg-3 | 18.6.0+dfsg-3 | Fixed |
| debian/nodejs(Debian 14) | < 18.6.0+dfsg-3 | 18.6.0+dfsg-3 | Fixed |
| nodejs node.js | >= 14.0.0, <= 14.14.0; >= 14.15.0, < 14.20.1; >= 16.0.0, <= 16.12.0; >= 16.13.0, < 16.17.1 +1 more | 14.20.1, 16.17.1, 18.5.0 | Fixed |
| Siemens SINEC INS | < 1.0; = 1.0; = 1.0-sp1 | 1.0 | Fixed |
| ubuntu/nodejs(Ubuntu 20.04) | < 10.19.0~dfsg-3ubuntu1.3; = 10.15.2~dfsg-2ubuntu1; = 10.17.0~dfsg-2ubuntu4; = 10.17.0~dfsg-2ubuntu6 +3 more | 10.19.0~dfsg-3ubuntu1.3 | Fixed |
| ubuntu/nodejs(Ubuntu 22.04) | < 12.22.9~dfsg-1ubuntu3.2; = 12.22.5~dfsg-5ubuntu1; = 12.22.7~dfsg-2ubuntu1; = 12.22.7~dfsg-2ubuntu3 +3 more | 12.22.9~dfsg-1ubuntu3.2 | Fixed |
| ubuntu/nodejs(Ubuntu Pro 18.04) | < 8.10.0~dfsg-2ubuntu0.4+esm4; = 6.11.4~dfsg-1ubuntu1; = 6.11.4~dfsg-1ubuntu2; = 6.12.0~dfsg-1ubuntu1 +9 more | 8.10.0~dfsg-2ubuntu0.4+esm4 | Fixed |
| debian linux | = 10.0; = 11.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 35; = 36; = 37 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nodejs node | >= 4.0 | No fix listed |
| nodejs node | >= 5.0 | No fix listed |
| nodejs node | >= 6.0 | No fix listed |
| nodejs node | >= 7.0 | No fix listed |
| nodejs node | >= 8.0 | No fix listed |
| nodejs node | >= 9.0 | No fix listed |
| nodejs node | >= 10.0 | No fix listed |
| nodejs node | >= 11.0 | No fix listed |
| nodejs node | >= 12.0 | No fix listed |
| nodejs node | >= 13.0 | No fix listed |
| nodejs node | >= 14.0, < 14.20.1 | 14.20.1 |
| nodejs node | >= 15.0 | No fix listed |
| nodejs node | >= 16.0, < 16.17.1 | 16.17.1 |
| nodejs node | >= 17.0 | No fix listed |
| nodejs node | >= 18.0, < 18.9.1 | 18.9.1 |
| ubuntu/nodejs(Ubuntu:22.04) | < 12.22.9~dfsg-1ubuntu3.2 | 12.22.9~dfsg-1ubuntu3.2 |
| nodejs node.js | >= 14.0.0, <= 14.14.0 | No fix listed |
| nodejs node.js | >= 14.15.0, < 14.20.1 | 14.20.1 |
| nodejs node.js | >= 16.0.0, <= 16.12.0 | No fix listed |
| nodejs node.js | >= 16.13.0, < 16.17.1 | 16.17.1 |
| nodejs node.js | >= 18.0.0, < 18.5.0 | 18.5.0 |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| fedoraproject fedora | = 36 | No fix listed |
Show 42 more
| Product | Affected versions | Fixed in |
|---|---|---|
| fedoraproject fedora | = 37 | No fix listed |
| Siemens SINEC INS | < 1.0 | 1.0 |
| Siemens SINEC INS | = 1.0 | No fix listed |
| Siemens SINEC INS | = 1.0-sp1 | No fix listed |
| debian/nodejs(Debian:12) | < 18.6.0+dfsg-3 | 18.6.0+dfsg-3 |
| debian/nodejs(Debian:14) | < 18.6.0+dfsg-3 | 18.6.0+dfsg-3 |
| debian/nodejs(Debian:13) | < 18.6.0+dfsg-3 | 18.6.0+dfsg-3 |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | < 8.10.0~dfsg-2ubuntu0.4+esm4 | 8.10.0~dfsg-2ubuntu0.4+esm4 |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.11.4~dfsg-1ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.11.4~dfsg-1ubuntu2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.12.0~dfsg-1ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.12.0~dfsg-2ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 6.12.0~dfsg-2ubuntu2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.3 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4+esm1 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4+esm2 | No fix listed |
| ubuntu/nodejs(Ubuntu:Pro:18.04) | = 8.10.0~dfsg-2ubuntu0.4+esm3 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | < 10.19.0~dfsg-3ubuntu1.3 | 10.19.0~dfsg-3ubuntu1.3 |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.15.2~dfsg-2ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.17.0~dfsg-2ubuntu4 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.17.0~dfsg-2ubuntu6 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.19.0~dfsg-3ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.19.0~dfsg-3ubuntu1.1 | No fix listed |
| ubuntu/nodejs(Ubuntu:20.04) | = 10.19.0~dfsg-3ubuntu1.2 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | = 12.22.5~dfsg-5ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | = 12.22.7~dfsg-2ubuntu1 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | = 12.22.7~dfsg-2ubuntu3 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | = 12.22.9~dfsg-1ubuntu2 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | = 12.22.9~dfsg-1ubuntu3 | No fix listed |
| ubuntu/nodejs(Ubuntu:22.04) | = 12.22.9~dfsg-1ubuntu3.1 | No fix listed |
| alpine/nodejs-current(Alpine:v3.16) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.17) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.18) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.19) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.20) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.21) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.22) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.23) | < 18.6.0-r0 | 18.6.0-r0 |
| alpine/nodejs-current(Alpine:v3.24) | < 18.6.0-r0 | 18.6.0-r0 |
References
- Debian Security Tracker CVE-2022-32212 vendor-advisory
- hackerone.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6491-1 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- nodejs.org issue-tracking
- github.com issue-tracking
- github.com issue-tracking