NetSight
high7.5

CVE-2023-46298

Next.js missing cache-control header may lead to CDN caching empty reply

Impact

Next.js before 13.4.20-canary.13 lacks a cache-control header and thus empty prefetch responses may sometimes be cached by a CDN, causing a denial of service to all users requesting the same URL via that CDN. Cloudflare considers these requests cacheable assets.

Affected packages

EcosystemPackageAffectedFixed in
npmnext>= 0.9.9, < 13.4.20-canary.1313.4.20-canary.13

Affected products

VendorProductAffected versions
VercelNext.Js
before 13.4.20
Version 13.4.20

References