CVE-2022-37620 (High) detected in html-minifier-3.5.19.tgz, html-minifier-3.5.18.tgz
mend-bolt-for-github opened this issue · comments
CVE-2022-37620 - High Severity Vulnerability
Vulnerable Libraries - html-minifier-3.5.19.tgz, html-minifier-3.5.18.tgz
html-minifier-3.5.19.tgz
Highly configurable, well-tested, JavaScript-based HTML minifier.
Library home page: https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.19.tgz
Path to dependency file: /Section30-Building-A-FullStack-App-With-React/fullstack-todo-app/todos-react-frontent/package.json
Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/memory-game-exercise/node_modules/html-minifier/package.json
Dependency Hierarchy:
- react-scripts-1.1.4.tgz (Root Library)
- html-webpack-plugin-2.29.0.tgz
- ❌ html-minifier-3.5.19.tgz (Vulnerable Library)
- html-webpack-plugin-2.29.0.tgz
html-minifier-3.5.18.tgz
Highly configurable, well-tested, JavaScript-based HTML minifier.
Library home page: https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.18.tgz
Path to dependency file: /Section26-Create-React-App-and-Props/recipe-props-starter/package.json
Path to vulnerable library: /Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/html-minifier/package.json,/Section28-The-Virtual-DOM-Events-and-Forms/recipe-app-with-state/node_modules/html-minifier/package.json
Dependency Hierarchy:
- react-scripts-1.1.4.tgz (Root Library)
- html-webpack-plugin-2.29.0.tgz
- ❌ html-minifier-3.5.18.tgz (Vulnerable Library)
- html-webpack-plugin-2.29.0.tgz
Found in HEAD commit: d80f181a2f4dd1169fbef38813309ffdd4ad82d4
Found in base branch: master
Vulnerability Details
A Regular Expression Denial of Service (ReDoS) flaw was found in kangax html-minifier 4.0.0 via the candidate variable in htmlminifier.js.
Publish Date: 2022-10-31
URL: CVE-2022-37620
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: None
- Availability Impact: High
Step up your Open Source Security Game with Mend here