vipinsun / TrustID

Decentralized Identity solution compatible with different Hyperledger platforms.
https://wiki.hyperledger.org/display/fabric
Apache License 2.0
0 stars 0 forks source link

WS-2020-0060 (Medium) detected in jsrsasign-7.2.2.tgz #8

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

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

WS-2020-0060 - Medium Severity Vulnerability

Vulnerable Library - jsrsasign-7.2.2.tgz

opensource free pure JavaScript cryptographic library supports RSA/RSAPSS/ECDSA/DSA signing/validation, ASN.1, PKCS#1/5/8 private/public key, X.509 certificate, CRL, OCSP, CMS SignedData, TimeStamp and CAdES and JSON Web Signature(JWS)/Token(JWT)/Key(JWK)

Library home page: https://registry.npmjs.org/jsrsasign/-/jsrsasign-7.2.2.tgz

Path to dependency file: /trustid-sdk/package.json

Path to vulnerable library: /trustid-sdk/node_modules/jsrsasign/package.json

Dependency Hierarchy: - fabric-ca-client-2.1.0.tgz (Root Library) - :x: **jsrsasign-7.2.2.tgz** (Vulnerable Library)

Found in HEAD commit: 1c9178c5a1b42520307da1fa7f9b1899276178ed

Found in base branch: master

Vulnerability Details

Versions of jsrsasign are vulnerable to Timing Attacks. The signHex function uses a timing-unsafe method for ECDSA key generation and signing. This leaks the length of the scalar, which attackers may use to brute-force the private key. Timing attacks can be used to increase the efficiency of brute-force attacks by removing the exponential increase in entropy gained from longer secrets. This issue only affects the ECDSA functions.

Publish Date: 2020-03-31

URL: WS-2020-0060

CVSS 3 Score Details (5.9)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-03-31

Fix Resolution (jsrsasign): 8.0.13

Direct dependency fix Resolution (fabric-ca-client): 2.1.1


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 7 months ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 7 months ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.