Packages / react-server-dom-webpack / Security
react-server-dom: Denial of Service in Server Functions
Affected releases · react-server-dom-webpack
- 19.x19.0.0 – 19.2.7Fixed in 19.2.8
On 19.x, the newest line:
npm install react-server-dom-webpack@19.2.8Not affected
0.0.1
1 release
Affected
19.0.0 – 19.0.7
8 releases
Fixed
19.0.8 – 19.0.9
2 releases
Affected
19.1.0 – 19.1.8
9 releases
Fixed
19.1.9 – 19.1.10
2 releases
Affected
19.2.0 – 19.2.7
8 releases
Fixed
19.2.8 – 19.3.1
4 releases, latest
Is your project affected?
Paste your package.json, or type the range you declare for react-server-dom-webpack. It is read in your browser and sent nowhere.
What happens
Impact
A denial of service vulnerability could be triggered by sending specially crafted HTTP requests to server function endpoints, this could lead to out-of-memory exceptions or excessive CPU usage.
We recommend updating immediately.
The vulnerability exists in versions 19.0.0 through 19.0.7, 19.1.0 through 19.1.8, and 19.2.0 through 19.2.7 of:
react-server-dom-webpack
react-server-dom-parcel
react-server-dom-turbopack
Patches
Fixes were back ported to versions 19.0.8, 19.1.9, and 19.2.8.
If you are using any of the above packages please upgrade to any of the fixed versions immediately.
If your app’s React code does not use a server, your app is not affected by this vulnerability. If your app does not use a framework, bundler, or bundler plugin that supports React Server Components, your app is not affected by this vulnerability.