CVE-2022-43548
npm vulnerability analysis and mitigation

Overview

A DNS rebinding vulnerability (CVE-2022-43548) was discovered in Node.js versions <14.21.1, <16.18.1, <18.12.1, <19.0.1. The vulnerability exists due to an insufficient IsAllowedHost check that can be bypassed because IsIPAddress does not properly validate invalid IP addresses before making DNS requests, allowing rebinding attacks (Node.js Blog).

Technical details

The vulnerability specifically affects the Node.js rebinding protector for --inspect functionality. The protector still allows invalid IP addresses in octal format (e.g., 1.09.0.0, where 09 is invalid in base-8). Browsers like Firefox will still attempt to resolve these invalid octal addresses via DNS. When combined with an active --inspect session, such as when using VSCode, this can enable DNS rebinding attacks (Node.js Blog).

Impact

Successful exploitation of this vulnerability could lead to disclosure of sensitive information, modification of data, and potential arbitrary code execution when combined with an active --inspect debugging session (NetApp Advisory).

Mitigation and workarounds

The vulnerability has been fixed in Node.js versions 14.21.1, 16.18.1, 18.12.1, and 19.0.1. Users should upgrade to these or later versions to mitigate the vulnerability (Node.js Blog).

Additional resources


SourceThis report was generated using AI

Related npm vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-64756HIGH7.5
  • JavaScriptJavaScript
  • rhel9::php-83
NoYesNov 17, 2025
CVE-2025-7458MEDIUM6.9
  • SQLiteSQLite
  • mingw32-sqlite
NoYesJul 29, 2025
CVE-2025-64118MEDIUM6.1
  • JavaScriptJavaScript
  • renovate
NoYesOct 30, 2025
CVE-2025-62408MEDIUM5.9
  • npmnpm
  • nodejs:22::nodejs-packaging-bundler
NoYesDec 08, 2025
CVE-2025-52099N/AN/A
  • SQLiteSQLite
  • rust-std-static-wasm32-wasi
NoYesOct 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management