RCE in Facebook React-Dev-Utils
CVE-2021-24033
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.
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.033 (87.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L.
Affected products
- Facebook React-dev-utils — versions 11.0.4, unspecified
Weakness classification (CWE)
References
- cve-assign@fb.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- cve-assign@fb.com (x_refsource_CONFIRM, Vendor Advisory)
Frequently asked questions
- What is CVE-2021-24033?
- CVE-2021-24033 is a medium-severity vulnerability in Facebook React-Dev-Utils, classified under OS Command Injection. CVSS score: 5.6/10. Published 2021-03-09.
- How severe is CVE-2021-24033?
- Medium severity. CVSS v3 base score is 5.6 out of 10.