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
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.
CVE-2024-21484 - High 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
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