Advisory

GHSA-c59h-r6p8-q9wc

Also known as: CVE-2023-46298

Summary

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

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2023-10-22 03:30 UTC
Modified
2023-11-08 04:13 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 0.9.9, fixed 13.4.20-canary.13 (semver)

Fixed versions

13.4.20-canary.13

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences