CVE
CVE-2024-34350
CNA description
Next.js is a React framework that can provide building blocks to create web applications. Prior to 13.5.1, an 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](https://nextjs.org/docs/app/api-reference/next-config-js/rewrites) feature in Next.js. The vulnerability is resolved in Next.js `13.5.1` and newer.
Affected versions
- next≥ 13.4.0, < 13.5.1Fixed in 13.5.1
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- github.com/vercel/next.js/security/advisories/GHSA-77r5-gw3j-2mpf · Vendor Advisory
- github.com/advisories/GHSA-77r5-gw3j-2mpf · Third Party Advisory
- osv.dev/vulnerability/GHSA-77r5-gw3j-2mpf · Third Party Advisory
- github.com/vercel/next.js/commit/44eba020c615f0d9efe431f84ada67b81576f · Vendor Advisory
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.