CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Facebook

CVE-2021-24033
Facebook React-dev-utils vulnerability

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.

Affected products

React-dev-utils. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Facebook React-dev-utils runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Facebook products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.