{"id":"CVE-2024-34350","aliases":["CVE-2024-34350","GHSA-77r5-gw3j-2mpf"],"related":[],"kind":"vulnerability","state":"published","title":"Next.js Vulnerable to HTTP Request Smuggling","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nInconsistent 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.\n\nFor 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.\n\n### Patches\nThe vulnerability is resolved in Next.js `13.5.1` and newer. This includes Next.js `14.x`.\n\n### Workarounds\nThere are no official workarounds for this vulnerability. We recommend that you upgrade to a safe version.\n\n### References\nhttps://portswigger.net/web-security/request-smuggling/advanced/response-queue-poisoning","format":"markdown","source":"ghsa"},{"lang":"es","text":"Next.js es un framework React que puede proporcionar componentes básicos para crear aplicaciones web. Antes de 13.5.1, una interpretación inconsistente de una solicitud HTTP manipulada significaba que Next.js trataba las solicitudes como una sola solicitud y como dos solicitudes separadas, lo que generaba respuestas desincronizadas. Esto provocó una vulnerabilidad de envenenamiento de la cola de respuestas en las versiones de Next.js afectadas. Para que una solicitud fuera explotable, la ruta afectada también tenía que utilizar la función [reescrituras](https://nextjs.org/docs/app/api-reference/next-config-js/rewrites) en Next. js. La vulnerabilidad se resuelve en Next.js `13.5.1` y versiones posteriores.","source":"nvd"}],"published":"2024-05-09T16:07:44.499Z","modified":"2026-09-10T03:50:11.528Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":">= 13.4.0, < 13.5.1","status":"affected"}],"vendor":"vercel","product":"next.js","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"13.4.0","status":"affected","fixed":"13.5.1"}],"ecosystem":"npm","package":"next","purl":"pkg:npm/next","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"13.4.0","fixed":"13.5.1"}],"vendor":"vercel","product":"next.js","cpe":"cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-77r5-gw3j-2mpf","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34350","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js/commit/44eba020c615f0d9efe431f84ada67b81576f3f5","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/vercel/next.js/compare/v13.5.0...v13.5.1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-05-09T20:02:36.994Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34350","url":"https://www.cve.org/CVERecord?id=CVE-2024-34350","licence":"CVE Terms of Use","modified":"2024-08-02T02:51:11.331Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-77r5-gw3j-2mpf","url":"https://github.com/advisories/GHSA-77r5-gw3j-2mpf","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:11.528Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34350","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34350","licence":"Public domain","modified":"2026-06-17T07:33:13.557Z"}],"updatedAt":"2026-11-25T22:58:40.176Z","epss":{"score":0.0119,"percentile":0.6881,"date":"2026-12-01T12:00:22.000Z"}}