vipinsun / fabric-sdk-go

https://wiki.hyperledger.org/display/fabric
Apache License 2.0
0 stars 0 forks source link

CVE-2021-30246 (Critical) detected in jsrsasign-8.0.24.tgz #54

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

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

CVE-2021-30246 - Critical Severity Vulnerability

Vulnerable Library - jsrsasign-8.0.24.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-8.0.24.tgz

Path to dependency file: /pkg/fab/ccpackager/nodepackager/testdata/event_cc/package.json

Path to vulnerable library: /pkg/fab/ccpackager/nodepackager/testdata/event_cc/node_modules/fabric-shim/node_modules/jsrsasign/package.json,/pkg/fab/ccpackager/nodepackager/testdata/example_cc1/node_modules/fabric-shim/node_modules/jsrsasign/package.json,/pkg/fab/ccpackager/nodepackager/testdata/example_cc/node_modules/fabric-shim/node_modules/jsrsasign/package.json

Dependency Hierarchy: - fabric-shim-1.4.6.tgz (Root Library) - :x: **jsrsasign-8.0.24.tgz** (Vulnerable Library)

Found in HEAD commit: 432a85aa9d4094d52823bdb4be9cf19758df85e1

Found in base branch: main

Vulnerability Details

In the jsrsasign package through 10.1.13 for Node.js, some invalid RSA PKCS#1 v1.5 signatures are mistakenly recognized to be valid. NOTE: there is no known practical attack.

Publish Date: 2021-04-07

URL: CVE-2021-30246

CVSS 3 Score Details (9.1)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/kjur/jsrsasign/security/advisories/GHSA-27fj-mc8w-j9wg

Release Date: 2021-04-07

Fix Resolution (jsrsasign): 10.2.0

Direct dependency fix Resolution (fabric-shim): 2.0.0


Step up your Open Source Security Game with Mend here