-
-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Vulnerable Library - hardhat-2.24.0.tgz
Path to vulnerable library: /blockchain_integration/pi_network/pi-network-layer2-scaling/node_modules/cookie/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/cookie/package.json,/projects/oracle-nexus/node_modules/cookie/package.json
Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf
Vulnerabilities
Vulnerability | Severity | Dependency | Type | Fixed in (hardhat version) | Remediation Possible** | |
---|---|---|---|---|---|---|
CVE-2024-47764 | 5.3 | cookie-0.4.2.tgz | Transitive | 3.0.0 | ❌ | |
CVE-2025-5889 | 3.1 | brace-expansion-2.0.1.tgz | Transitive | N/A* | ❌ | |
CVE-2025-54798 | 2.5 | tmp-0.0.33.tgz | Transitive | N/A* | ❌ |
*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-2024-47764
Vulnerable Library - cookie-0.4.2.tgz
HTTP server cookie parsing and serialization
Library home page: https://registry.npmjs.org/cookie/-/cookie-0.4.2.tgz
Path to dependency file: /blockchain_integration/pi_network/pi-network-layer2-scaling/package.json
Path to vulnerable library: /blockchain_integration/pi_network/pi-network-layer2-scaling/node_modules/cookie/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/cookie/package.json,/projects/oracle-nexus/node_modules/cookie/package.json
Dependency Hierarchy:
- hardhat-2.24.0.tgz (Root Library)
- node-5.30.0.tgz
- ❌ cookie-0.4.2.tgz (Vulnerable Library)
- node-5.30.0.tgz
Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf
Found in base branch: main
Vulnerability Details
cookie is a basic HTTP cookie parser and serializer for HTTP servers. The cookie name could be used to set other fields of the cookie, resulting in an unexpected cookie value. A similar escape can be used for path and domain, which could be abused to alter other fields of the cookie. Upgrade to 0.7.0, which updates the validation for name, path, and domain.
Publish Date: 2024-10-04
URL: CVE-2024-47764
CVSS 3 Score Details (5.3)
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: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: GHSA-pxg6-pf52-xh8x
Release Date: 2024-10-04
Fix Resolution (cookie): 0.7.0
Direct dependency fix Resolution (hardhat): 3.0.0
Step up your Open Source Security Game with Mend here
CVE-2025-5889
Vulnerable Library - brace-expansion-2.0.1.tgz
Brace expansion as known from sh/bash
Library home page: https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz
Path to dependency file: /blockchain_integration/pi_network/contracts/package.json
Path to vulnerable library: /blockchain_integration/pi_network/contracts/node_modules/brace-expansion/package.json,/projects/oracle-nexus/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/PiSure/contracts/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/pi-network-layer2-scaling/node_modules/hardhat/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/node_modules/brace-expansion/package.json,/blockchain_integration/pi_network/SpacePi/node_modules/mocha/node_modules/minimatch/node_modules/brace-expansion/package.json
Dependency Hierarchy:
- hardhat-2.24.0.tgz (Root Library)
- mocha-10.8.2.tgz
- minimatch-5.1.6.tgz
- ❌ brace-expansion-2.0.1.tgz (Vulnerable Library)
- minimatch-5.1.6.tgz
- mocha-10.8.2.tgz
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
Suggested Fix
Type: Upgrade version
Origin: GHSA-v6h2-p8h4-qcjw
Release Date: 2025-06-09
Fix Resolution: brace-expansion - 4.0.1
Step up your Open Source Security Game with Mend here
CVE-2025-54798
Vulnerable Library - tmp-0.0.33.tgz
Temporary file and directory creator
Library home page: https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz
Path to dependency file: /projects/oracle-nexus/package.json
Path to vulnerable library: /projects/oracle-nexus/node_modules/tmp/package.json,/blockchain_integration/pi_network/contracts/PI-bank/node_modules/tmp/package.json,/blockchain_integration/pi_network/pi-network-layer2-scaling/node_modules/tmp/package.json
Dependency Hierarchy:
- hardhat-2.24.0.tgz (Root Library)
- solc-0.8.26.tgz
- ❌ tmp-0.0.33.tgz (Vulnerable Library)
- solc-0.8.26.tgz
Found in HEAD commit: 011e5f9d5ce310049a1a68c19f7df65be4f88caf
Found in base branch: main
Vulnerability Details
tmp is a temporary file and directory creator for node.js. In versions 0.2.3 and below, tmp is vulnerable to an arbitrary temporary file / directory write via symbolic link dir parameter. This is fixed in version 0.2.4.
Publish Date: 2025-08-07
URL: CVE-2025-54798
CVSS 3 Score Details (2.5)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: High
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None
Step up your Open Source Security Game with Mend here