vipinsun / minifabric

Do fabric network the right and easy way.
Apache License 2.0
0 stars 0 forks source link

CVE-2024-21484 (High) detected in jsrsasign-8.0.24.tgz, jsrsasign-10.5.0.tgz #160

Open mend-bolt-for-github[bot] opened 9 months ago

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

CVE-2024-21484 - High Severity Vulnerability

Vulnerable Libraries - jsrsasign-8.0.24.tgz, jsrsasign-10.5.0.tgz

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: /chaincode/simple/node/package.json

Path to vulnerable library: /chaincode/simple/node/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)

jsrsasign-10.5.0.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-10.5.0.tgz

Path to dependency file: /app/node/package.json

Path to vulnerable library: /app/node/node_modules/jsrsasign/package.json

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

Found in HEAD commit: 655167764fcdebd1047d2f63249a7596884c4b03

Found in base branch: main

Vulnerability Details

Versions of the package jsrsasign before 11.0.0 are vulnerable to Observable Discrepancy via the RSA PKCS1.5 or RSAOAEP decryption process. An attacker can decrypt ciphertexts by exploiting the Marvin security flaw. Exploiting this vulnerability requires the attacker to have access to a large number of ciphertexts encrypted with the same key. Workaround The vulnerability can be mitigated by finding and replacing RSA and RSAOAEP decryption with another crypto library.

Publish Date: 2024-01-22

URL: CVE-2024-21484

CVSS 3 Score Details (7.5)

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: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-21484

Release Date: 2024-01-22

Fix Resolution (jsrsasign): 11.0.0

Direct dependency fix Resolution (fabric-shim): 2.0.0


Step up your Open Source Security Game with Mend here