Skip to content

CVE-2021-24033 (Medium) detected in multiple libraries #268

@mend-for-github-com

Description

@mend-for-github-com

CVE-2021-24033 - Medium Severity Vulnerability

Vulnerable Libraries - react-dev-utils-9.1.0.tgz, react-dev-utils-0.5.2.tgz, react-dev-utils-7.0.5.tgz, react-dev-utils-10.2.1.tgz

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: cloud-pipeline/fs-browser/fs-browser-client/package.json

Path to vulnerable library: cloud-pipeline/fs-browser/fs-browser-client/node_modules/react-dev-utils/package.json,cloud-pipeline/docs/md/api/API_tutorials/attachments/js_example/node_modules/react-dev-utils/package.json

Dependency Hierarchy:

  • react-dev-utils-9.1.0.tgz (Vulnerable Library)
react-dev-utils-0.5.2.tgz

Webpack utilities used by Create React App

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

Path to dependency file: cloud-pipeline/data-sharing-service/client/package.json

Path to vulnerable library: cloud-pipeline/data-sharing-service/client/node_modules/react-dev-utils/package.json

Dependency Hierarchy:

  • react-dev-utils-0.5.2.tgz (Vulnerable Library)
react-dev-utils-7.0.5.tgz

Webpack utilities used by Create React App

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

Path to dependency file: cloud-pipeline/client/package.json

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

Dependency Hierarchy:

  • react-dev-utils-7.0.5.tgz (Vulnerable Library)
react-dev-utils-10.2.1.tgz

webpack utilities used by Create React App

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

Path to dependency file: cloud-pipeline/cloud-pipeline-webdav-client/package.json

Path to vulnerable library: cloud-pipeline/cloud-pipeline-webdav-client/node_modules/react-dev-utils/package.json

Dependency Hierarchy:

  • react-scripts-3.4.4.tgz (Root Library)
    • react-dev-utils-10.2.1.tgz (Vulnerable Library)

Found in HEAD commit: 1db3170e0bd699acd5fec6e3fcebfa68fe86edcf

Found in base branch: develop

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    security vulnerabilitySecurity vulnerability detected by WhiteSource

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions