## React Flight / Next.js RCE Advisory - Security Update ### Summary Updated the project to address the React Flight / Next.js RCE advisory (CVE-2024-50383) by upgrading Next.js to the patched version. ### Vulnerability Assessment ✅ **Project is affected by the advisory:** - Uses **Next.js 15.2.x** (vulnerable version range) - Does NOT use React Flight packages (react-server-dom-webpack, react-server-dom-parcel, react-server-dom-turbopack) - Uses React 18.3.1 (not vulnerable React 19.x versions) ### Changes Made #### Modified Files: 1. **package.json** - Upgraded `next` from `15.2.4` to `15.2.6` (patched version for 15.2.x) - No React or React DOM changes required (Next.js manages its own patched React versions) 2. **pnpm-lock.yaml** - Updated lockfile to reflect `next@15.2.6` installation - All dependencies resolved correctly with patched versions ### Implementation Details - This project is a Next.js 15 application without React Server Components/Flight - The RCE vulnerability in Next.js 15.2.x is addressed by upgrading to 15.2.6 - No React Flight packages required updating since they are not used - React versions (18.3.1) are not affected by this vulnerability ### Build Status ⚠️ **Note on Pre-existing Issue:** The build fails due to corrupted image files in `public/background-images/` (pre-existing issue): - `ali-kazal-tbw_KQE3Cbg-unsplash.jpg` (130 bytes - should be larger) - `samantha-gades-BlIhVfXbi9s-unsplash.jpg` (132 bytes - should be larger) This image corruption issue exists in the original codebase and is unrelated to the security update. The Next.js upgrade to 15.2.6 itself is successful and the patched version is correctly installed. ### Testing - Verified dependency installation with `pnpm install` - Confirmed lockfile contains `next@15.2.6` - Confirmed no React Flight packages are used - Pre-existing image corruption prevents full build, but dependency upgrade is verified ### Security Impact ✅ **Successfully patched against CVE-2024-50383** - Next.js upgraded to 15.2.6 (patched version for 15.2.x) - No vulnerable React Flight packages in use - React versions remain compatible and secure Co-authored-by: Vercel <vercel[bot]@users.noreply.github.com>
LiveKit Meet
Try the demo • LiveKit Components • LiveKit Docs • LiveKit Cloud • Blog
LiveKit Meet is an open source video conferencing app built on LiveKit Components, LiveKit Cloud, and Next.js. It's been completely redesigned from the ground up using our new components library.
Tech Stack
- This is a Next.js project bootstrapped with
create-next-app. - App is built with @livekit/components-react library.
Demo
Give it a try at https://meet.livekit.io.
Dev Setup
Steps to get a local dev setup up and running:
- Run
pnpm installto install all dependencies. - Copy
.env.examplein the project root and rename it to.env.local. - Update the missing environment variables in the newly created
.env.localfile. - Run
pnpm devto start the development server and visit http://localhost:3000 to see the result. - Start development 🎉
Languages
TypeScript
94.8%
CSS
3.8%
JavaScript
1.4%
