Bug 2395630 (CVE-2025-59437)

Summary: CVE-2025-59437 ip: node-ip: node-ip: SSRF due to incomplete fix
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: ON_QA --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akhatavk, akostadi, amasferr, amctagga, anjoseph, anujha, aoconnor, aos-team-art-private, aruklets, asdas, asoldano, bbaranow, bmaxwell, bniver, bstansbe, dlofthou, dmayorov, doconnor, dpaolell, dymurray, flucifre, fmariani, gmalinko, gmeno, gparvin, groman, istudens, ivassile, iweiss, janstey, jbaesner, jbalunas, jdelft, jlledo, jprabhak, jupierce, jwon, kaycoth, lchilton, lgarciaa, mbenjamin, mbiarnes, mcarlett, mhackett, mosmerov, msvehla, nwallace, pantinor, pberan, pdelbell, pesilva, pjindal, pmackay, ppalepu, ppostler, prdhamdh, rhaigner, rhel-process-autobot, rjohnson, rstancel, rstepani, sfeifer, sghai, shudeshp, sidsharm, sostapov, suppawar, tcunning, thjenkin, tmielke, tsedmik, tsze, vdosoudi, vereddy, vlaad, watson-tool-maintainers, wtam, yfang
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the ip.isPublic() and ip.isPrivate() functions. An attacker can interact with internal network resources by supplying specially crafted IP address such as null route ("0") that is being incorrectly identified as public.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2526746, 2586548, 2424462, 2424463, 2424464, 2424465    
Bug Blocks:    

Description OSIDB Bzimport 2025-09-16 03:01:13 UTC
The ip (aka node-ip) package through 2.0.1 (in NPM) might allow SSRF because the IP address value 0 is improperly categorized as globally routable via isPublic. NOTE: this issue exists because of an incomplete fix for CVE-2024-29415. NOTE: in current versions of several applications, connection attempts to the IP address 0 (interpreted as 0.0.0.0) are blocked with error messages such as net::ERR_ADDRESS_INVALID. However, in some situations that depend on both application version and operating system, connection attempts to 0 and 0.0.0.0 are considered connection attempts to 127.0.0.1 (and, for this reason, a false value of isPublic would be preferable).