Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. CVE-2024-34350

CVE-2024-34350: Next.js Vulnerable to HTTP Request Smuggling

May 9, 2024

Inconsistent interpretation of a crafted HTTP request meant that requests are treated as both a single request, and two separate requests by Next.js, leading to desynchronized responses. This led to a response queue poisoning vulnerability in the affected Next.js versions.

For a request to be exploitable, the affected route also had to be making use of the rewrites feature in Next.js.

References

  • github.com/advisories/GHSA-77r5-gw3j-2mpf
  • github.com/vercel/next.js
  • github.com/vercel/next.js/commit/44eba020c615f0d9efe431f84ada67b81576f3f5
  • github.com/vercel/next.js/compare/v13.5.0...v13.5.1
  • github.com/vercel/next.js/security/advisories/GHSA-77r5-gw3j-2mpf
  • nvd.nist.gov/vuln/detail/CVE-2024-34350

Code Behaviors & Features

Detect and mitigate CVE-2024-34350 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 13.4.0 before 13.5.1

Fixed versions

  • 13.5.1

Solution

Upgrade to version 13.5.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Source file

npm/next/CVE-2024-34350.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:08 +0000.