Medium severity5.6NVD Advisory· Published Mar 9, 2021· Updated Jun 17, 2026
CVE-2021-24033
CVE-2021-24033
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
react-dev-utilsnpm | >= 0.4.0, < 11.0.4 | 11.0.4 |
Affected products
3cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:facebook:react-dev-utils:*:*:*:*:*:*:*:*range: <11.0.4
- (no CPE)range: unspecified
Patches
Vulnerability mechanics
References
6- github.com/facebook/create-react-app/pull/10644nvdExploitPatchThird Party AdvisoryWEB
- github.com/advisories/GHSA-5q6m-3h65-w53xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-24033ghsaADVISORY
- www.facebook.com/security/advisories/cve-2021-24033nvdVendor AdvisoryWEB
- github.com/facebook/create-react-app/commit/f5e415f3a5b66f07dcc60aba1b445fa7cda97268ghsaWEB
- www.huntr.dev/bounties/1-npm-react-dev-utilsghsaWEB
News mentions
0No linked articles in our index yet.