Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in next 16.4.5.
Next.js is a React framework for building full-stack web applications. From 16.0.0 until 16.4.5, Next.js App Router applications that pass binary arguments, such as Uint8Array or Blob values, to functions using the 'use cache' directive can generate identical cache keys for distinct arguments. Requests with different binary arguments can therefore share a cached result, causing cross-user disclosure of cached data or allowing one request to poison results returned to another user. This issue is fixed in version 16.4.5.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| vercel | >=16.0.0 <16.4.5 | ||
| npm: next | >=16.0.0 <16.4.5, >=16.0.0 <=16.4.4 | 16.4.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in next (npm), strongest first
Embed
A live severity badge for an advisory, README or ticket