Server-Side Request Forgery (SSRF) Affecting node-ip package, versions <2.0.0+~1.1.0-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.08% (38th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-Side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2310-NODEIP-6241252
  • published20 Feb 2024
  • disclosed8 Feb 2024

Introduced: 8 Feb 2024

CVE-2023-42282  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade Ubuntu:23.10 node-ip to version 2.0.0+~1.1.0-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-ip package and not the node-ip package as distributed by Ubuntu. See How to fix? for Ubuntu:23.10 relevant fixed versions and status.

The ip package before 1.1.9 for Node.js might allow SSRF because some IP addresses (such as 0x7f.1) are improperly categorized as globally routable via isPublic.

CVSS Scores

version 3.1