vipinsun / blockchain-carbon-accounting

Apache License 2.0
0 stars 0 forks source link

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

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

mend-bolt-for-github[bot] commented 6 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: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-fabric/node_modules/fabric-network/node_modules/jsrsasign/package.json,/utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-fabric/node_modules/fabric-ca-client/node_modules/jsrsasign/package.json,/utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-fabric/node_modules/fabric-common/node_modules/jsrsasign/package.json,/utility-emissions-channel/typescript_app/node_modules/jsrsasign/package.json

Dependency Hierarchy: - fabric-client-1.4.17.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: /utility-emissions-channel/typescript_app/package.json

Path to vulnerable library: /utility-emissions-channel/typescript_app/node_modules/@hyperledger/cactus-plugin-ledger-connector-fabric/node_modules/jsrsasign/package.json

Dependency Hierarchy: - cactus-plugin-ledger-connector-fabric-0.9.0.tgz (Root Library) - :x: **jsrsasign-10.4.0.tgz** (Vulnerable Library)

Found in HEAD commit: d388e16464e00b9ce84df0d247029f534a429b90

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 (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: jsrsasign - 11.0.0


Step up your Open Source Security Game with Mend here