vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2024-48948 (Medium) detected in multiple libraries #276

Open mend-bolt-for-github[bot] opened 1 month ago

mend-bolt-for-github[bot] commented 1 month ago

CVE-2024-48948 - Medium Severity Vulnerability

Vulnerable Libraries - elliptic-6.5.4.tgz, elliptic-6.3.3.tgz, elliptic-6.5.3.tgz

elliptic-6.5.4.tgz

EC cryptography

Library home page: https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz

Path to dependency file: /open-offsets-directory/react/package.json

Path to vulnerable library: /open-offsets-directory/react/node_modules/elliptic/package.json,/utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-fabric/node_modules/elliptic/package.json,/net-emissions-token-network/package.json

Dependency Hierarchy: - cactus-plugin-ledger-connector-fabric-0.9.0.tgz (Root Library) - fabric-common-2.3.0-snapshot.49.tgz - :x: **elliptic-6.5.4.tgz** (Vulnerable Library)

elliptic-6.3.3.tgz

EC cryptography

Library home page: https://registry.npmjs.org/elliptic/-/elliptic-6.3.3.tgz

Path to dependency file: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/web3-eth-abi/node_modules/elliptic/package.json

Dependency Hierarchy: - web3-1.2.7.tgz (Root Library) - web3-eth-1.2.7.tgz - web3-eth-abi-1.2.7.tgz - ethers-4.0.0-beta.3.tgz - :x: **elliptic-6.3.3.tgz** (Vulnerable Library)

elliptic-6.5.3.tgz

EC cryptography

Library home page: https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz

Dependency Hierarchy: - fabric-client-1.4.17.tgz (Root Library) - :x: **elliptic-6.5.3.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

Vulnerability Details

The Elliptic package 6.5.7 for Node.js, in its for ECDSA implementation, does not correctly verify valid signatures if the hash contains at least four leading 0 bytes and when the order of the elliptic curve's base point is smaller than the hash, because of an _truncateToN anomaly. This leads to valid signatures being rejected. Legitimate transactions or communications may be incorrectly flagged as invalid.

Publish Date: 2024-10-15

URL: CVE-2024-48948

CVSS 3 Score Details (4.8)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-fc9h-whq2-v747

Release Date: 2024-10-28

Fix Resolution: elliptic - 6.6.0


Step up your Open Source Security Game with Mend here