Cache poisoning via fallback revalidation value
Published Sep 17, 2024 · Updated Sep 18, 2024
Cache poisoning in Vercel Next.js 13.5.1 through 13.5.6 and 14.0.0 through 14.2.9 allows remote attackers to cache unintended responses. Server render-result handling substitutes a one-second revalidation value when rendering returns none, causing crafted request metadata to emit a cacheable directive for a route that should remain uncached. Exposure requires a self-hosted Pages Router deployment with a non-dynamic server-side rendered route; App Router-only and Vercel deployments are unaffected.
Summary
What happened
Cache poisoning in Vercel Next.js 13.5.1 through 13.5.6 and 14.0.0 through 14.2.9 allows remote attackers to cache unintended responses. Server render-result handling substitutes a one-second revalidation value when rendering returns none, causing crafted request metadata to emit a cacheable directive for a route that should remain uncached. Exposure requires a self-hosted Pages Router deployment with a non-dynamic server-side rendered route; App Router-only and Vercel deployments are unaffected.
The record
- CVE
- CVE-2024-46982
- Published
- Sep 17, 2024
- Updated
- Sep 18, 2024
- Vendor
- Vercel
- Product
- Next.js
- Classifications
- CWE-639, CWE-349, T1499
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Sep 17, 2024CVE publishedPublication date reported by the CVE source.
- Sep 18, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 13.5.1, < 13.5.7
- Affected versionversion=13.5.1 <13.5.7
- Affected versionversion=>= 14.0.0, < 14.2.10
- Affected versionversion=14.0.0 <14.2.10
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo