
Cloud Vulnerability DB
A community-led vulnerabilities database
The CVE-2025-59436 affects the ip (aka node-ip) package through version 2.0.1 in NPM. This vulnerability is related to an improper categorization of IP addresses that could lead to Server-Side Request Forgery (SSRF) attacks. Specifically, the IP address value '017700000001' is incorrectly classified as globally routable via the isPublic function. This vulnerability exists as a result of an incomplete fix for a previous vulnerability (CVE-2024-29415) (NVD, Debian).
The vulnerability stems from inadequate input validation and IP address normalization in the IP parsing logic. The affected functions (ip.isPublic and ip.isPrivate) fail to properly normalize IP addresses before validation and handle special cases like null route (0) and octal formats (017700000001). The vulnerability has been assigned a CVSS 3.1 Base Score of 3.2 (Low) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N, indicating a local attack vector with high attack complexity (CVE Application, Ubuntu).
The vulnerability can lead to Server-Side Request Forgery (SSRF) attacks by allowing attackers to bypass IP-based SSRF protections. This could result in unauthorized access to internal services and APIs, potential data exfiltration, and service enumeration capabilities. The package has a significant installation base with over 5 million weekly NPM downloads and is used in thousands of Node.js applications, particularly in enterprise web applications implementing SSRF protection (CVE Application).
For immediate mitigation, it is recommended to implement enhanced validation functions that specifically handle bypass techniques. The suggested approach includes checking for null routes, addresses starting with '127.', and octal format patterns. Long-term fixes should focus on proper input normalization, comprehensive validation including all possible IP address representations, and special case handling for null routes and octal formats (CVE Application).
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."