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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.033 (88.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 88th percentile — 88.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.033 · newest: 0.033 · change: 0.000
Affected products
- Facebook React-Dev-Utils — versions 11.0.4, unspecified
Weakness classification (CWE)
References
- github.com/facebook/create-react-app/pull/10644 (Exploit, Patch, Third Party Advisory)
- www.facebook.com/security/advisories/cve-2021-24033 (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.