Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2021-24033 (Medium) detected in react-dev-utils-4.2.3.tgz - autoclosed #105

Closed
mend-bolt-for-github bot opened this issue Mar 15, 2021 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

mend-bolt-for-github bot commented Mar 15, 2021

CVE-2021-24033 - Medium Severity Vulnerability

Vulnerable Library - react-dev-utils-4.2.3.tgz

Webpack utilities used by Create React App

Library home page: https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-4.2.3.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/react-dev-utils/package.json

Dependency Hierarchy:

  • gatsby-2.3.14.tgz (Root Library)
    • react-dev-utils-4.2.3.tgz (Vulnerable Library)

Found in HEAD commit: 28b6a6a94edc7f7f4ce50d78e71074d48062387d

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: 2021-03-09

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: 2021-03-09

Fix Resolution: react-dev-utils-11.0.4


Step up your Open Source Security Game with WhiteSource here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 15, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-24033 (High) detected in react-dev-utils-9.1.0.tgz, react-dev-utils-4.2.3.tgz CVE-2021-24033 (Medium) detected in react-dev-utils-4.2.3.tgz Jun 19, 2021
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2021-24033 (Medium) detected in react-dev-utils-4.2.3.tgz CVE-2021-24033 (Medium) detected in react-dev-utils-4.2.3.tgz - autoclosed Apr 26, 2022
@mend-bolt-for-github
Copy link
Author

✔️ This issue was automatically closed by WhiteSource because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the WhiteSource inventory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants