OS command injection in Meta react-dev-utils
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Partial Red Hat: 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Meta | react-dev-utils | before 11.0.4 | 11.0.4 | Patch available | CNA |
| — | react-dev-utils (npm) | 0.4.0 to before 11.0.4 | 11.0.4 | Patch available | GHSA-5q6m-3h65-w53x |
- react-dev-utils VendorMeta Affected before 11.0.4 Fixed in 11.0.4 Patch available CNA
- react-dev-utils (npm) Vendor— Affected 0.4.0 to before 11.0.4 Fixed in 11.0.4 Patch available GHSA-5q6m-3h65-w53x
Remediation
- Fix · CNA react-dev-utils (Facebook) Fixed in 11.0.4
- Fix · GHSA-5q6m-3h65-w53x react-dev-utils (npm) Fixed in 11.0.4 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Decision Manager 7 | Affected | No fix planned: Out of support scope |
| Red Hat Process Automation 7 | Affected | No fix planned: Out of support scope |
Not affected: 4 products
- OpenShift Service Mesh 1
- OpenShift Service Mesh 2.0
- Red Hat Advanced Cluster Management for Kubernetes 2
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2021-24033
- 2026-10-03 Alias added: GHSA-5q6m-3h65-w53x
References
Advisory 2
More Meta React-dev-utils vulnerabilities
- TI-2018-04666 OS command injection in Meta react-dev-utils CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-24033 · CVE Program
- CVE-2021-24033 · NVD
- FIRST EPSS
- GHSA-5q6m-3h65-w53x · GitHub Advisory Database · CC BY 4.0
- CVE-2021-24033 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences