next is vulnerable to Information Disclosure
63
CVE Score
Medium
Information Disclosure
With Cache Components enabled, an outer use cache function can omit a root param from its cache key when a nested use cache function reads it through next/root-params and returns pending promises. This causes the outer cache entry to be reused across different root param values, potentially serving content generated for one value to requests using another. It can also bypass tag invalidation and nested cache lifetimes. The leaked values cannot be chosen by an attacker.
Upgrade the next library to the patch version.
You are affected if you are using a version that falls within the vulnerable range, have Cache Components enabled, and have nested use cache functions where the inner function reads a root param via next/root-params and returns a value containing pending promises.
16.2.0 - 16.4.4
Fixed in 16.4.5next is vulnerable to Information Disclosure in versions 16.2.0 - 16.4.4.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.