Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade @react-native-community/cli-server-api to version 20.0.0 or higher.
Affected versions of this package are vulnerable to Command Injection via the url variable processing in openURLMiddleware.ts. An attacker can execute arbitrary system commands by sending crafted HTTP POST requests, if the Metro development server is in use. This server binds to all interfaces, exposing the application to remote connections.
Note: Only applications developed without a Framework are vulnerable, and code execution has only been demonstrated on Windows.