AlexRogalskiy/code-formats

CVE-2023-42282 (Critical) detected in ip-1.1.5.tgz

Opened this issue · 1 comments

CVE-2023-42282 - Critical Severity Vulnerability

Vulnerable Library - ip-1.1.5.tgz

[![](https://badge.fury.io/js/ip.svg)](https://www.npmjs.com/package/ip)

Library home page: https://registry.npmjs.org/ip/-/ip-1.1.5.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/npm/node_modules/ip/package.json

Dependency Hierarchy:

  • npm-7.1.0.tgz (Root Library)
    • npm-7.8.0.tgz
      • make-fetch-happen-8.0.14.tgz
        • socks-proxy-agent-5.0.0.tgz
          • socks-2.6.0.tgz
            • ip-1.1.5.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2024-02-08

URL: CVE-2023-42282

CVSS 3 Score Details (9.8)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-78xj-cgh5-2h22

Release Date: 2024-02-08

Fix Resolution (ip): 1.1.9

Direct dependency fix Resolution (@semantic-release/npm): 7.1.1


Step up your Open Source Security Game with Mend here

👋 Thanks for reporting!