6.8

CVE-2021-24033: facebook react-dev-utils OS Command Injection

CVSS: 6.8v2.0MediumModified
AliasesGHSA-5q6m-3h65-w53x
Published 09-03-2021Last modified 03-08-2024

Vulnerability summary

CVE-2021-24033 is a medium (CVSS 6.8) OS Command Injection vulnerability in facebook react-dev-utils. EPSS estimates a 3.29% chance of exploitation in the next 30 days, higher than 88.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
38/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.8/10
010
Medium · v2.0 (NVD)
EPSS score
3.29%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Timeline

  1. 09-03-2021
    PublishedVulnerability first disclosed.
  2. 03-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

3.29%

Chance of exploitation in the next 30 days

Percentile

88%

Versus all other CVEs

30-day change

0.00 pp

From 3.29% on 19-09-2026

19-09-202619-10-2026
EPSS score
3.29%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Create React App

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Facebook1 product
Npm1 product
  • react-dev-utils≥ 0.4.0, < 11.0.4

2 vendors · 2 products

References

6 links