Ubuntu CVE Tracker
UBUNTU-CVE-2022-32212
Details
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | nodejs | All versions before 8.10.0~dfsg-2ubuntu0.4+esm4 (fixed in 8.10.0~dfsg-2ubuntu0.4+esm4) |
| Ubuntu:20.04:LTS | nodejs | All versions before 10.19.0~dfsg-3ubuntu1.3 (fixed in 10.19.0~dfsg-3ubuntu1.3) |
| Ubuntu:22.04:LTS | nodejs | All versions before 12.22.9~dfsg-1ubuntu3.2 (fixed in 12.22.9~dfsg-1ubuntu3.2) |
References
- https://ubuntu.com/security/CVE-2022-32212
- https://nodejs.org/en/blog/vulnerability/july-2022-security-releases/#dns-rebinding-in-inspect-via-invalid-ip-addresses-high-cve-2022-32212
- https://github.com/nodejs/node/commit/48c5aa5cab718d04473fa2761d532657c84b8131
- https://github.com/nodejs/node/commit/1aa5036c31ac2a9b2a2528af454675ad412f1464
- https://ubuntu.com/security/notices/USN-6491-1
- https://www.cve.org/CVERecord?id=CVE-2022-32212