CVE-2022-43548: Command Injection
A flaw was found in NodeJS. The issue occurs in the Node.js rebinding protector for --inspect that still allows invalid IP addresses, specifically, the octal format. This flaw allows an attacker to perform DNS rebinding and execute arbitrary code.
Other sources
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.
Hi upstream just released nodejs 14.21.1 to fix CVE-2022-43548 https://github.com/nodejs/node/releases/tag/v14.21.1 https://nodejs.org/en/blog/release/v18.12.1/ https://nodejs.org/en/blog/release/v16.18.1/
— Red Hat
Affected Software
Remediation
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is CVE-2022-43548?
CVE-2022-43548 is a OS Command Injection vulnerability in Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1 that allows for rebinding attacks.
What is the severity of CVE-2022-43548?
The severity of CVE-2022-43548 is high with a CVSS score of 7.5.
How does CVE-2022-43548 occur?
CVE-2022-43548 occurs due to an insufficient IsAllowedHost check in Node.js that can be bypassed, allowing for rebinding attacks.
Which versions of Node.js are affected by CVE-2022-43548?
Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1 are affected by CVE-2022-43548.
How can CVE-2022-43548 be fixed?
To fix CVE-2022-43548, it is recommended to upgrade to Node.js versions 14.21.1, 16.18.1, 18.12.1, or 19.0.1.