19.2.4
5 years ago
1 months ago
Known vulnerabilities in the react-server-dom-webpack package. This does not include vulnerabilities belonging to this package’s dependencies.
Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.
Fix for free| Vulnerability | Vulnerable Version |
|---|---|
react-server-dom-webpack is a React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly. Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the decoding reply functions of React Flight protocol. An attacker can cause server crashes, out-of-memory exceptions, or excessive CPU usage by sending specially crafted HTTP requests to Server Function endpoints. Notes:
How to fix Allocation of Resources Without Limits or Throttling? Upgrade | >=19.0.0-canary-2b036d3f1-20240327 <19.0.4>=19.1.0-canary-130095f7-20241212 <19.1.5>=19.2.0-canary-63779030-20250328 <19.2.4 |
react-server-dom-webpack is a React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly. Affected versions of this package are vulnerable to Exposure of Sensitive System Information to an Unauthorized Control Sphere. An attacker can access the source code of any Server Function by sending a malicious HTTP request to a vulnerable Server Function. Notes: This is only exploitable if a Server Function exists that explicitly or implicitly exposes a stringified argument:
An attacker may be able to leak the following:
Secrets hardcoded in source code may be exposed, but runtime secrets such as The scope of the exposed code is limited to the code inside the Server Function, which may include other functions depending on the amount of inlining your bundler provides. Even if your app does not implement any React Server Function endpoints it may still be vulnerable if your app supports React Server Components. If your app’s React code does not use a server, your app is not affected by these vulnerabilities. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by these vulnerabilities. For React Native users not using a monorepo or If you are using React Native in a monorepo, you should update only the impacted packages if they are installed: How to fix Exposure of Sensitive System Information to an Unauthorized Control Sphere? Upgrade | >=19.0.0 <19.0.2>=19.1.0 <19.1.3>=19.2.0 <19.2.2 |
react-server-dom-webpack is a React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly. Affected versions of this package are vulnerable to Deserialization of Untrusted Data due to unsafe deserialization of payloads from HTTP requests to Server Function endpoints. An attacker can cause the server process to enter an infinite loop and hang, preventing it from serving future HTTP requests by sending specially crafted payloads. Notes: Even if your app does not implement any React Server Function endpoints it may still be vulnerable if your app supports React Server Components. If your app’s React code does not use a server, your app is not affected by these vulnerabilities. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by these vulnerabilities. For React Native users not using a monorepo or If you are using React Native in a monorepo, you should update only the impacted packages if they are installed: How to fix Deserialization of Untrusted Data? Upgrade | >=19.0.0 <19.0.4>=19.1.0 <19.1.5>=19.2.0 <19.2.4 |