LevyForchh / yugabyte-db

The high-performance distributed SQL database for global, internet-scale apps.
https://www.yugabyte.com
Other
0 stars 0 forks source link

CVE-2020-28498 (Medium) detected in elliptic-6.5.2.tgz, elliptic-6.5.3.tgz #134

Open mend-for-github-com[bot] opened 3 years ago

mend-for-github-com[bot] commented 3 years ago

CVE-2020-28498 - Medium Severity Vulnerability

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

elliptic-6.5.2.tgz

EC cryptography

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

Path to dependency file: yugabyte-db/docs/package.json

Path to vulnerable library: yugabyte-db/docs/node_modules/elliptic/package.json

Dependency Hierarchy: - webpack-3.12.0.tgz (Root Library) - node-libs-browser-2.2.1.tgz - crypto-browserify-3.12.0.tgz - browserify-sign-4.0.4.tgz - :x: **elliptic-6.5.2.tgz** (Vulnerable Library)

elliptic-6.5.3.tgz

EC cryptography

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

Path to dependency file: yugabyte-db/managed/ui/package.json

Path to vulnerable library: yugabyte-db/managed/ui/node_modules/elliptic/package.json

Dependency Hierarchy: - react-scripts-3.2.0.tgz (Root Library) - webpack-4.41.0.tgz - node-libs-browser-2.2.1.tgz - crypto-browserify-3.12.0.tgz - browserify-sign-4.2.0.tgz - :x: **elliptic-6.5.3.tgz** (Vulnerable Library)

Found in HEAD commit: d5a0ed9bff63893a5435e09333d22846f6bb3acc

Found in base branch: master

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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-28498

Release Date: 2021-02-02

Fix Resolution: v6.5.4