Path to dependency file: /utility-emissions-channel/typescript_app/package.json
Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-xdai/node_modules/web3-utils/package.json
Versions of the package web3-utils before 4.2.1 are vulnerable to Prototype Pollution via the utility functions format and mergeDeep, due to insecure recursive merge.
An attacker can manipulate an object's prototype, potentially leading to the alteration of the behavior of all objects inheriting from the affected prototype by passing specially crafted input to these functions.
CVE-2024-21505 - High Severity Vulnerability
web3-utils-1.3.5.tgz
Collection of utility functions used in web3.js.
Library home page: https://registry.npmjs.org/web3-utils/-/web3-utils-1.3.5.tgz
Path to dependency file: /utility-emissions-channel/typescript_app/package.json
Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-xdai/node_modules/web3-utils/package.json
Dependency Hierarchy: - cactus-plugin-ledger-connector-xdai-0.9.0.tgz (Root Library) - :x: **web3-utils-1.3.5.tgz** (Vulnerable Library)
web3-utils-1.2.7.tgz
Collection of utility functions used in web3.js.
Library home page: https://registry.npmjs.org/web3-utils/-/web3-utils-1.2.7.tgz
Dependency Hierarchy: - web3-1.2.7.tgz (Root Library) - :x: **web3-utils-1.2.7.tgz** (Vulnerable Library)
web3-utils-1.3.0.tgz
Collection of utility functions used in web3.js.
Library home page: https://registry.npmjs.org/web3-utils/-/web3-utils-1.3.0.tgz
Path to dependency file: /net-emissions-token-network/package.json
Path to vulnerable library: /net-emissions-token-network/package.json
Dependency Hierarchy: - solidity-coverage-0.7.13.tgz (Root Library) - :x: **web3-utils-1.3.0.tgz** (Vulnerable Library)
web3-utils-1.2.11.tgz
Collection of utility functions used in web3.js.
Library home page: https://registry.npmjs.org/web3-utils/-/web3-utils-1.2.11.tgz
Path to dependency file: /net-emissions-token-network/package.json
Path to vulnerable library: /net-emissions-token-network/package.json
Dependency Hierarchy: - plugins-0.0.16.tgz (Root Library) - contracts-0.0.2-alpha.14.tgz - ganache-core-2.13.1.tgz - web3-1.2.11.tgz - :x: **web3-utils-1.2.11.tgz** (Vulnerable Library)
web3-utils-1.2.9.tgz
Collection of utility functions used in web3.js.
Library home page: https://registry.npmjs.org/web3-utils/-/web3-utils-1.2.9.tgz
Path to dependency file: /net-emissions-token-network/package.json
Path to vulnerable library: /net-emissions-token-network/package.json
Dependency Hierarchy: - plugins-0.0.16.tgz (Root Library) - hardhat-truffle5-2.0.0.tgz - truffle-contract-4.2.23.tgz - debug-utils-4.2.14.tgz - codec-0.7.1.tgz - :x: **web3-utils-1.2.9.tgz** (Vulnerable Library)
Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90
Found in base branch: main
Versions of the package web3-utils before 4.2.1 are vulnerable to Prototype Pollution via the utility functions format and mergeDeep, due to insecure recursive merge. An attacker can manipulate an object's prototype, potentially leading to the alteration of the behavior of all objects inheriting from the affected prototype by passing specially crafted input to these functions.
Publish Date: 2024-03-25
URL: CVE-2024-21505
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.Type: Upgrade version
Origin: https://www.cve.org/CVERecord?id=CVE-2024-21505
Release Date: 2024-03-25
Fix Resolution (web3-utils): 4.2.1
Direct dependency fix Resolution (web3): 4.0.1
Fix Resolution (web3-utils): 4.2.1
Direct dependency fix Resolution (solidity-coverage): 0.8.0
Step up your Open Source Security Game with Mend here