Closed mend-bolt-for-github[bot] closed 2 years ago
:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #177
:information_source: This issue was automatically closed by Mend because it is a duplicate of an existing issue: #177
CVE-2021-24033 - Medium Severity Vulnerability
Vulnerable Library - react-dev-utils-9.1.0.tgz
Webpack utilities used by Create React App
Library home page: https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-9.1.0.tgz
Path to dependency file: /React/react-form-validation-demo/package.json
Path to vulnerable library: /React/react-form-validation-demo/node_modules/react-dev-utils/package.json,/React/fullstack_app/client/node_modules/react-dev-utils/package.json,/React/mern-todo-app/node_modules/react-dev-utils/package.json
Dependency Hierarchy: - react-scripts-3.2.0.tgz (Root Library) - :x: **react-dev-utils-9.1.0.tgz** (Vulnerable Library)
Found in base branch: master
Vulnerability Details
react-dev-utils prior to v11.0.4 exposes a function, getProcessForPort, where an input argument is concatenated into a command string to be executed. This function is typically used from react-scripts (in Create React App projects), where the usage is safe. Only when this function is manually invoked with user-provided values (ie: by custom code) is there the potential for command injection. If you're consuming it from react-scripts then this issue does not affect you.
Publish Date: Mar 9, 2021 1:15:00 AM
URL: CVE-2021-24033
CVSS 3 Score Details (5.6)
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low
For more information on CVSS3 Scores, click here.Suggested Fix
Type: Upgrade version
Origin: https://www.facebook.com/security/advisories/cve-2021-24033
Release Date: Mar 9, 2021 1:15:00 AM
Fix Resolution (react-dev-utils): 11.0.4
Direct dependency fix Resolution (react-scripts): 4.0.0
Step up your Open Source Security Game with Mend here