CVE-2021-24033: OS Command Injection

Published Mar 9, 2021
·
Updated

Facebook react-dev-utils could allow a remote attacker to execute arbitrary commands on the system, caused by a flaw in getProcessForPort function. By sending a specially-crafted request, an attacker could exploit this vulnerability to inject and execute arbitrary commands on the system.

Other sources

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.

Affected Software

2 affected components
Facebook react-dev-utils<11.0.4
IBM Planning Analytics<=2.0

Event History

Mar 9, 2021
CVE Published
via MITRE·12:25 AM
Data Sourced
via MITRE·12:25 AM
DescriptionWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-24033?

CVE-2021-24033 is a vulnerability in react-dev-utils prior to v11.0.4 that exposes a function, getProcessForPort, allowing an input argument to be concatenated into a command string for execution.

2

What is the severity of CVE-2021-24033?

The severity of CVE-2021-24033 is medium, with a severity value of 5.6.

3

What software is affected by CVE-2021-24033?

The affected software is react-dev-utils prior to v11.0.4.

4

How can I fix CVE-2021-24033?

To fix CVE-2021-24033, update your react-dev-utils to version 11.0.4 or higher.

5

What is the Common Weakness Enumeration (CWE) of CVE-2021-24033?

The Common Weakness Enumeration (CWE) of CVE-2021-24033 is CWE-77 and CWE-78.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203