BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-24033 in Facebook React-Dev-Utils

Medium 5.6

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-provi...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.15.6
EPSS3.3%
EPSS percentile89th
FixSee advisory

Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Facebook React-Dev-Utils < 11.0.4

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2021-24033
BreachSpider IDBS-2021-GLOBAL-080969-M
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
Published2021-03-09
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2021-24033 affects react-dev-utils versions prior to v11.0.4, where the getProcessForPort function can lead to command injection if user-provided input is concatenated into a command string.

The vulnerability arises from the getProcessForPort function in react-dev-utils, which concatenates an input argument into a command string. This can be exploited if the function is manually invoked with user-provided values, leading to command injection.

Questions

What is CVE-2021-24033?

CVE-2021-24033 affects react-dev-utils versions prior to v11.0.4, where the getProcessForPort function can lead to command injection if user-provided input is concatenated into a command string.

What is the CVSS score for CVE-2021-24033?

CVE-2021-24033 has CVSS 5.6 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 3.3%.

Is CVE-2021-24033 actively exploited?

No confirmed active exploitation of CVE-2021-24033 as of 2026-09-25.

How do I remediate CVE-2021-24033?

Priority: MEDIUM. Advisory: https://www.facebook.com/security/advisories/cve-2021-24033 PSIRT: [email protected]

What systems are affected by CVE-2021-24033?

CVE-2021-24033 affects Facebook React-Dev-Utils.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Facebook","product":"React-Dev-Utils","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.