Skip to content

ip SSRF improper categorization in isPublic

High severity GitHub Reviewed Published Jun 2, 2024 to the GitHub Advisory Database • Updated Jun 2, 2024

Package

npm ip (npm)

Affected versions

<= 2.0.1

Patched versions

None

Description

The ip package through 2.0.1 for Node.js might allow SSRF because some IP addresses (such as 127.1, 01200034567, 012.1.2.3, 000:0:0000::01, and ::fFFf:127.0.0.1) are improperly categorized as globally routable via isPublic. NOTE: this issue exists because of an incomplete fix for CVE-2023-42282.

References

Published by the National Vulnerability Database May 27, 2024
Published to the GitHub Advisory Database Jun 2, 2024
Reviewed Jun 2, 2024
Last updated Jun 2, 2024

Severity

High

Weaknesses

CVE ID

CVE-2024-29415

GHSA ID

GHSA-2p57-rm9w-gvfp

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.