What’s Vulnerable › Vulnerabilities
CVE-2021-24033
- Severity: medium (CVSS 5.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2021-03-09 · updated 2026-06-17
- Weakness: CWE-78
Description
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 products
- Facebook react-dev-utils: before 11.0.4 — fixed in 11.0.4
How to fix
Upgrade to a fixed version: Facebook react-dev-utils 11.0.4. Check the vendor advisory for mitigations.
References
- https://github.com/facebook/create-react-app/pull/10644
- https://www.facebook.com/security/advisories/cve-2021-24033
- https://github.com/facebook/create-react-app/pull/10644
- https://www.facebook.com/security/advisories/cve-2021-24033
Get alerted when CVE-2021-24033 or the next vulnerability affects your stack