vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

CVE-2020-28498 (Medium) detected in elliptic-6.5.3.tgz, elliptic-6.3.3.tgz #88

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2020-28498 - Medium Severity Vulnerability

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

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)

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)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

Found in base branch: main

Vulnerability Details

The package elliptic before 6.5.4 are vulnerable to Cryptographic Issues via the secp256k1 implementation in elliptic/ec/key.js. There is no check to confirm that the public key point passed into the derive function actually exists on the secp256k1 curve. This results in the potential for the private key used in this implementation to be revealed after a number of ECDH operations are performed.

Publish Date: 2021-02-02

URL: CVE-2020-28498

CVSS 3 Score Details (6.8)

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: None - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2020-28498

Release Date: 2021-02-02

Fix Resolution (elliptic): 6.5.4

Direct dependency fix Resolution (fabric-client): 1.4.18

Fix Resolution (elliptic): 6.5.4

Direct dependency fix Resolution (web3): 1.2.8


Step up your Open Source Security Game with Mend here