vercel[bot] 690dc1011a
Update Next.js/React Flight RCE vulnerability patches (#501)
## 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>
2025-12-08 12:50:11 +01:00
2025-05-22 11:02:24 +02:00
2022-10-24 17:03:12 +02:00
2022-10-24 17:03:12 +02:00
2022-10-24 17:03:12 +02:00
2022-10-24 17:03:12 +02:00
2023-04-18 16:13:52 +02:00

LiveKit logo

LiveKit Meet

Try the demoLiveKit ComponentsLiveKit DocsLiveKit CloudBlog


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.

LiveKit Meet screenshot

Tech Stack

Demo

Give it a try at https://meet.livekit.io.

Dev Setup

Steps to get a local dev setup up and running:

  1. Run pnpm install to install all dependencies.
  2. Copy .env.example in the project root and rename it to .env.local.
  3. Update the missing environment variables in the newly created .env.local file.
  4. Run pnpm dev to start the development server and visit http://localhost:3000 to see the result.
  5. Start development 🎉
Description
Open source video conferencing app built on LiveKit Components, LiveKit Cloud, and Next.js.
Readme Apache-2.0 7.5 MiB
Languages
TypeScript 94.8%
CSS 3.8%
JavaScript 1.4%