Skip to main content
← All vulnerabilities
CVE-2021-24033GHSA-5Q6M-3H65-W53X

react-dev-utils prior to v11.0.4 exposes a function, getProcessForPort, where an input argument is concatenated into a command string to be

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 11.0.4
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Facebook react-dev-utils

    fixed in 11.0.4

  • react-dev-utilsnpm

    From 0.4.0 · fixed in 11.0.4

References 2

GitHub · facebook/create-react-app

facebook.com