CVE-2024-34351
Last modified
CVE-2024-34351 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. EPSS estimates a 5.45% chance of exploitation in the next 30 days.
Description
Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Vercel | Next.Js | >= 13.4.0, < 14.1.1 |
References
- https://github.com/vercel/next.js/pull/62561Issue Tracking, Patch
- https://github.com/vercel/next.js/pull/62561Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-34351?
How severe is CVE-2024-34351?
How do I fix CVE-2024-34351?
Are you affected by CVE-2024-34351?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
