#1119021 node-ip: CVE-2025-59437

Package:
src:node-ip
Source:
src:node-ip
Submitter:
Salvatore Bonaccorso
Date:
2025-10-26 08:11:03 UTC
Severity:
normal
Tags:
#1119021#5
Date:
2025-10-26 08:10:12 UTC
From:
To:
Hi,

The following vulnerability was published for node-ip.

CVE-2025-59437[0]:
| 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).


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2025-59437
https://www.cve.org/CVERecord?id=CVE-2025-59437
[1] https://github.com/indutny/node-ip/issues/160

Regards,
Salvatore