Next.js: Cross-user cache disclosure and poisoning in Next.js use cache with binary arguments
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmnext |
< 16.4.5→ 16.4.5 |
16.4.5 |
| vercelnext.js | — | Not listed |
Original description The description as published by the source.
Next.js App Router applications that pass binary arguments (such as Uint8Array or Blob values) to functions using the use cache directive can produce identical cache keys for distinct arguments, allowing cached results to be shared across users — cross-user disclosure of cached data or cache poisoning. This affects applications using use cache with binary arguments.
Source: GitHub Repository Security Advisories (Game のスタック) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web nextjs.org
- web nvd.nist.gov
- web github.com