Описание
Source Code Exposure Vulnerability in React Server Components
Impact
There is a source code exposure vulnerability in React Server Components.
React recommends updating immediately.
The vulnerability exists in versions 19.0.0, 19.0.1 19.1.0, 19.1.1, 19.1.2, 19.2.0 and 19.2.1 of:
These issues are present in the patches published last week.
Patches
Fixes were back ported to versions 19.0.2, 19.1.3, and 19.2.2.
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.
References
See the blog post for more information and upgrade instructions.
Пакеты
react-server-dom-parcel
>= 19.0.0, < 19.0.2
19.0.2
react-server-dom-turbopack
>= 19.0.0, < 19.0.2
19.0.2
react-server-dom-webpack
>= 19.0.0, < 19.0.2
19.0.2
react-server-dom-parcel
>= 19.1.0, < 19.1.3
19.1.3
react-server-dom-parcel
>= 19.2.0, < 19.2.2
19.2.2
react-server-dom-turbopack
>= 19.1.0, < 19.1.3
19.1.3
react-server-dom-turbopack
>= 19.2.0, < 19.2.2
19.2.2
react-server-dom-webpack
>= 19.1.0, < 19.1.3
19.1.3
react-server-dom-webpack
>= 19.2.0, < 19.2.2
19.2.2
Связанные уязвимости
An information leak vulnerability exists in specific configurations of React Server Components versions 19.0.0, 19.0.1 19.1.0, 19.1.1, 19.1.2, 19.2.0 and 19.2.1, including the following packages: react-server-dom-parcel, react-server-dom-turbopack, and react-server-dom-webpack. A specifically crafted HTTP request sent to a vulnerable Server Function may unsafely return the source code of any Server Function. Exploitation requires the existence of a Server Function which explicitly or implicitly exposes a stringified argument.