
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-8020 affects all versions of the private-ip npm package. This vulnerability was discovered and disclosed on July 23, 2025, and is classified as a Server-Side Request Forgery (SSRF) vulnerability. The package is designed to check if an IP address is private, but contains a security flaw in its implementation (NVD, Snyk).
The vulnerability exists because the package fails to properly handle multicast IP addresses (224.0.0.0/4) in its private IP range checks. The package's source code includes an allowlist of private IP ranges but omits the multicast address space, allowing potential SSRF attacks. The vulnerability has received a CVSS v4.0 base score of 8.8 (High) and a CVSS v3.1 base score of 8.2 (High), indicating significant security impact (Snyk).
The vulnerability allows attackers to bypass private IP checks by providing an IP or hostname that resolves to a multicast IP address. This bypass could potentially lead to successful SSRF attacks, allowing unauthorized access to internal resources that should be protected. The impact assessment indicates high confidentiality impact and low integrity impact (Snyk).
Currently, there is no fixed version available for the private-ip package. As a workaround, users should consider switching to alternative packages that correctly handle multicast IP address validation, such as ipaddr.js, which properly identifies multicast IP addresses (Snyk).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."