Skip to content

ipfs-http-client-50.1.2.tgz: 3 vulnerabilities (highest severity is: 8.7) #1860

@mend-bolt-for-github

Description

@mend-bolt-for-github
Vulnerable Library - ipfs-http-client-50.1.2.tgz

Path to dependency file: /blockchain_integration/pi_network/PiRide/package.json

Path to vulnerable library: /blockchain_integration/pi_network/PiSure/contracts/node_modules/glob/node_modules/brace-expansion/package.json,/ai-financial-advisor/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/pi-browser-app/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/smartship/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/SpacePi/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/rimraf/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/truffle/node_modules/glob/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiSure/client/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiRide/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiShield/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/node_modules/glob/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/node_modules/glob/node_modules/brace-expansion/package.json

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Vulnerabilities

Vulnerability Severity CVSS Dependency Type Fixed in (ipfs-http-client version) Remediation Possible**
CVE-2025-7783 High 8.7 form-data-4.0.2.tgz Transitive 51.0.0
CVE-2025-25283 High 7.5 parse-duration-1.1.2.tgz Transitive N/A*
CVE-2025-5889 Low 3.1 brace-expansion-1.1.11.tgz Transitive 51.0.0

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2025-7783

Vulnerable Library - form-data-4.0.2.tgz

A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.

Library home page: https://registry.npmjs.org/form-data/-/form-data-4.0.2.tgz

Path to dependency file: /blockchain_integration/pi_network/SpacePi/package.json

Path to vulnerable library: /blockchain_integration/pi_network/SpacePi/node_modules/axios/node_modules/form-data/package.json,/blockchain_integration/pi_network/PiSure/contracts/node_modules/form-data/package.json,/blockchain_integration/pi_network/node_modules/form-data/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/form-data/package.json,/blockchain_integration/pi_network/SpacePi/node_modules/superagent/node_modules/form-data/package.json,/blockchain_integration/pi_network/PiRide/node_modules/form-data/package.json,/blockchain_integration/pi_network/contracts/node_modules/form-data/package.json

Dependency Hierarchy:

  • ipfs-http-client-50.1.2.tgz (Root Library)
    • form-data-4.0.2.tgz (Vulnerable Library)

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Found in base branch: main

Vulnerability Details

Use of Insufficiently Random Values vulnerability in form-data allows HTTP Parameter Pollution (HPP). This vulnerability is associated with program files lib/form_data.Js.
This issue affects form-data: < 2.5.4, 3.0.0 - 3.0.3, 4.0.0 - 4.0.3.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-07-18

URL: CVE-2025-7783

CVSS 3 Score Details (8.7)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-fjxv-7rqg-78g4

Release Date: 2025-07-18

Fix Resolution (form-data): 4.0.4

Direct dependency fix Resolution (ipfs-http-client): 51.0.0

Step up your Open Source Security Game with Mend here

CVE-2025-25283

Vulnerable Library - parse-duration-1.1.2.tgz

convert a human readable duration string to a duration format

Library home page: https://registry.npmjs.org/parse-duration/-/parse-duration-1.1.2.tgz

Path to dependency file: /blockchain_integration/pi_network/PiRide/package.json

Path to vulnerable library: /blockchain_integration/pi_network/PiRide/node_modules/parse-duration/package.json

Dependency Hierarchy:

  • ipfs-http-client-50.1.2.tgz (Root Library)
    • parse-duration-1.1.2.tgz (Vulnerable Library)

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Found in base branch: main

Vulnerability Details

parse-duraton is software that allows users to convert a human readable duration to milliseconds. Versions prior to 2.1.3 are vulnerable to an event loop delay due to the CPU-bound operation of resolving the provided string, from a 0.5ms and up to ~50ms per one operation, with a varying size from 0.01 MB and up to 4.3 MB respectively, and an out of memory that would crash a running Node.js application due to a string size of roughly 10 MB that utilizes unicode characters. Version 2.1.3 contains a patch.

Publish Date: 2025-02-12

URL: CVE-2025-25283

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-hcrg-fc28-fcg5

Release Date: 2025-02-12

Fix Resolution: parse-duration - 2.1.3

Step up your Open Source Security Game with Mend here

CVE-2025-5889

Vulnerable Library - brace-expansion-1.1.11.tgz

Brace expansion as known from sh/bash

Library home page: https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz

Path to dependency file: /blockchain_integration/pi_network/PiSure/contracts/package.json

Path to vulnerable library: /blockchain_integration/pi_network/PiSure/contracts/node_modules/glob/node_modules/brace-expansion/package.json,/ai-financial-advisor/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/pi-browser-app/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/smartship/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/SpacePi/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/rimraf/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/truffle/node_modules/glob/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiSure/client/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiRide/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiShield/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/node_modules/glob/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/node_modules/glob/node_modules/brace-expansion/package.json

Dependency Hierarchy:

  • ipfs-http-client-50.1.2.tgz (Root Library)
    • ipfs-utils-8.1.6.tgz
      • it-glob-0.0.14.tgz
        • minimatch-3.1.2.tgz
          • brace-expansion-1.1.11.tgz (Vulnerable Library)

Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf

Found in base branch: main

Vulnerability Details

A vulnerability was found in juliangruber brace-expansion up to 1.1.11. It has been rated as problematic. Affected by this issue is the function expand of the file index.js. The manipulation leads to inefficient regular expression complexity. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The name of the patch is a5b98a4f30d7813266b221435e1eaaf25a1b0ac5. It is recommended to apply a patch to fix this issue.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2025-06-09

URL: CVE-2025-5889

CVSS 3 Score Details (3.1)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-v6h2-p8h4-qcjw

Release Date: 2025-06-09

Fix Resolution (brace-expansion): 1.1.12

Direct dependency fix Resolution (ipfs-http-client): 51.0.0

Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions