CVE-2022-24771 (High) detected in node-forge-0.7.5.tgz
mend-bolt-for-github opened this issue · comments
CVE-2022-24771 - High Severity Vulnerability
Vulnerable Library - node-forge-0.7.5.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.5.tgz
Path to dependency file: /Section26-Create-React-App-and-Props/helloworld/package.json
Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/node-forge/package.json
Dependency Hierarchy:
- react-scripts-1.1.4.tgz (Root Library)
- webpack-dev-server-2.9.4.tgz
- selfsigned-1.10.3.tgz
- ❌ node-forge-0.7.5.tgz (Vulnerable Library)
- selfsigned-1.10.3.tgz
- webpack-dev-server-2.9.4.tgz
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 is lenient in checking the digest algorithm structure. This can allow a crafted structure that steals padding bytes and uses unchecked portion of the PKCS#1 encoded message to forge a signature when a low public exponent is being used. 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-24771
CVSS 3 Score Details (7.5)
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: High
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24771
Release Date: 2022-03-18
Fix Resolution (node-forge): 1.3.0
Direct dependency fix Resolution (react-scripts): 5.0.0
Step up your Open Source Security Game with Mend here