vipinsun / cactus

Hyperledger Cactus is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
0 stars 1 forks source link

CVE-2024-21484 (Medium) detected in jsrsasign-8.0.24.tgz, jsrsasign-10.4.0.tgz #390

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

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

CVE-2024-21484 - Medium Severity Vulnerability

Vulnerable Libraries - jsrsasign-8.0.24.tgz, jsrsasign-10.4.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: /packages/ledger-plugin/fabric/validator/unit-test/package.json

Path to vulnerable library: /packages/ledger-plugin/fabric/validator/unit-test/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-fabric/node_modules/jsrsasign/package.json,/packages/cactus-test-plugin-ledger-connector-besu/node_modules/jsrsasign/package.json,/packages/cactus-plugin-keychain-vault/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-xdai/node_modules/jsrsasign/package.json,/packages/node_modules/jsrsasign/package.json,/packages/cactus-test-cmd-api-server/node_modules/jsrsasign/package.json,/packages/ledger-plugin/fabric/validator/src/node_modules/jsrsasign/package.json,/packages/cactus-plugin-htlc-eth-besu/node_modules/jsrsasign/package.json,/packages/cactus-test-plugin-ledger-connector-quorum/node_modules/jsrsasign/package.json,/packages/cactus-test-tooling/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-besu/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-quorum/node_modules/jsrsasign/package.json,/packages/cactus-test-api-client/node_modules/jsrsasign/package.json,/packages/cactus-cmd-api-server/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-corda/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-network/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-ca-client/node_modules/jsrsasign/package.json,/packages/cactus-plugin-ledger-connector-fabric/node_modules/fabric-common/node_modules/jsrsasign/package.json

Dependency Hierarchy: - fabric-ca-client-2.3.0-snapshot.49.tgz (Root Library) - :x: **jsrsasign-8.0.24.tgz** (Vulnerable Library)

jsrsasign-10.4.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.4.0.tgz

Path to dependency file: /packages/cactus-plugin-ledger-connector-fabric/package.json

Path to vulnerable library: /packages/cactus-plugin-ledger-connector-fabric/node_modules/jsrsasign/package.json

Dependency Hierarchy: - :x: **jsrsasign-10.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: ceec9f73fd05cfdbf0061d53c9d0c42d43e85d22

Found in base branch: master

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 (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

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

Release Date: 2024-01-22

Fix Resolution: 11.0.0


Step up your Open Source Security Game with Mend here