VDB

CVE-2021-24033

CVE-2021-24033 PUBLISHED CVSS 5.599999904632568 MEDIUM

react-dev-utils OS Command Injection in function `getProcessForPort`

Reported by facebook · Published March 9, 2021

react-dev-utils is fixed in 11.0.4 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
react-dev-utilsnpm11.0.4
react-dev-utilsFacebookunspecified, 11.0.4

Risk scores

CVSS 3.1
5.599999904632568
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected products

VendorProductVersions
Facebookreact-dev-utils11.0.4, unspecified
npmreact-dev-utils0
Facebookreact-dev-utils11.0.4, *
facebookreact-dev-utils

Timeline

  • Mar 9, 2021 CVE Published
  • Mar 9, 2021 PoC Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 9, 2026 Security Advisory
  • Jun 17, 2026 CVE Updated
  • Aug 23, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-24033
vulnetix vdb fixes CVE-2021-24033

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-24033/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›