CVE-2022-24773 (Medium) detected in node-forge-0.8.4.tgz, node-forge-0.7.4.tgz
Opened this issue · 0 comments
CVE-2022-24773 - Medium Severity Vulnerability
Vulnerable Libraries - node-forge-0.8.4.tgz, node-forge-0.7.4.tgz
node-forge-0.8.4.tgz
JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.8.4.tgz
Path to dependency file: /generic-oauth/package.json
Path to vulnerable library: /tmp/git/generic-oauth/node_modules/gcs-resumable-upload/node_modules/node-forge/package.json
Dependency Hierarchy:
- firebase-admin-8.0.0.tgz (Root Library)
- firestore-2.1.1.tgz
- google-gax-1.1.1.tgz
- google-auth-library-4.2.0.tgz
- gtoken-3.0.0.tgz
- google-p12-pem-2.0.0.tgz
- ❌ node-forge-0.8.4.tgz (Vulnerable Library)
- google-p12-pem-2.0.0.tgz
- gtoken-3.0.0.tgz
- google-auth-library-4.2.0.tgz
- google-gax-1.1.1.tgz
- firestore-2.1.1.tgz
node-forge-0.7.4.tgz
JavaScript implementations of network transports, cryptography, ciphers, PKI, message digests, and various utilities.
Library home page: https://registry.npmjs.org/node-forge/-/node-forge-0.7.4.tgz
Path to dependency file: /generic-oauth/package.json
Path to vulnerable library: /tmp/git/generic-oauth/node_modules/node-forge/package.json
Dependency Hierarchy:
- firebase-admin-8.0.0.tgz (Root Library)
- ❌ node-forge-0.7.4.tgz (Vulnerable Library)
Found in base branch: master
Vulnerability Details
Forge (also called node-forge
) is a native implementation of Transport Layer Security in JavaScript. Prior to version 1.3.0, RSA PKCS#1 v1.5 signature verification code does not properly check DigestInfo
for a proper ASN.1 structure. This can lead to successful verification with signatures that contain invalid structures but a valid digest. The issue has been addressed in node-forge
version 1.3.0. There are currently no known workarounds.
Publish Date: 2022-03-18
URL: CVE-2022-24773
CVSS 3 Score Details (5.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: Low
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24773
Release Date: 2022-03-18
Fix Resolution (node-forge): 1.3.0
Direct dependency fix Resolution (firebase-admin): 10.0.2
Fix Resolution (node-forge): 1.3.0
Direct dependency fix Resolution (firebase-admin): 10.0.2
Step up your Open Source Security Game with Mend here