7.5

CVE-2024-34351: vercel next.js Server-Side Request Forgery (SSRF)

CVSS: 7.5v3.1HighAnalyzed
AliasesCGA-52px-hwqq-27prCGA-83qv-h68h-789hCGA-q7hf-ghmv-5694
Published 09-05-2024Last modified 02-08-2024

Vulnerability summary

CVE-2024-34351 is a high (CVSS 7.5) Server-Side Request Forgery (SSRF) vulnerability in vercel next.js. EPSS estimates a 5.45% chance of exploitation in the next 30 days, higher than 92.6% of scored vulnerabilities.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
5.45%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 2

Timeline

  1. 09-05-2024
    PublishedVulnerability first disclosed.
  2. 02-08-2024
    Last modifiedVulnerability information updated.

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`.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

5.45%

Chance of exploitation in the next 30 days

Percentile

93%

Versus all other CVEs

30-day change

0.00 pp

From 5.45% on 21-09-2026

21-09-202621-10-2026
EPSS score
5.45%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard3 products
  • jitsucom-jitsu< 2.8.0-r0
  • jitsucom-jitsu-console< 2.8.0-r0
  • jitsucom-jitsu-rotor< 2.8.0-r0
Wolfi3 products
  • jitsucom-jitsu< 2.8.0-r0
  • jitsucom-jitsu-console< 2.8.0-r0
  • jitsucom-jitsu-rotor< 2.8.0-r0
Npm1 product
  • next≥ 13.4.0, < 14.1.1
Vercel1 product

4 vendors · 8 products

References

6 links