VDB
Sign up
CRITICAL9.5

GHSA-673q-mjm6-r5xr

Next.js: Unauthenticated Remote Code Execution in `use cache` functions returning typed arrays

Quick fix

GHSA-673q-mjm6-r5xr — next: upgrade to the fixed version with the command below.

npm install next@16.4.1

Details

## Impact

A vulnerability in applications using App router with Cache Component can lead to remote code execution. The application needs to have a `use cache` function that returns multiple typed arrays.

## Workaround

There is no known workaround for affected applications with such `use cache` functions. You should upgrade immediately even if your application does not have similar functions.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/next
Introduced in: 16.0.0Fixed in: 16.4.1
Fixnpm install next@16.4.1

References