vercel/next.js · Security

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

GHSA ID
GHSA-673q-mjm6-r5xr
Severity
critical
Published
Updated
CVSS v4
9.5 · CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N

Description

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.

CWEs

References