{ "canonical_id": "nextjs--CVE-2024-34350", "system_id": "nextjs", "display_name": "Next.js", "category": "frameworks", "advisory_mode": "core", "title": "Next.js Vulnerable to HTTP Request Smuggling", "summary": "### 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", "published_at": "2024-05-09T21:07:00Z", "updated_at": "2024-07-09T18:28:18Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/vercel/next.js/security/advisories/GHSA-77r5-gw3j-2mpf", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2024-34350", "https://github.com/vercel/next.js/commit/44eba020c615f0d9efe431f84ada67b81576f3f5", "https://github.com/vercel/next.js", "https://github.com/vercel/next.js/compare/v13.5.0...v13.5.1" ], "aliases": [ "CVE-2024-34350", "GHSA-77r5-gw3j-2mpf" ], "cve_ids": [ "CVE-2024-34350" ], "ghsa_ids": [ "GHSA-77r5-gw3j-2mpf" ], "osv_ids": [ "GHSA-77r5-gw3j-2mpf" ], "affected_versions": [ "introduced=13.4.0, fixed<13.5.1" ], "fixed_versions": [ "13.5.1" ], "package_name": "next", "render_markdown": true, "case_path": "07-framework-security/frameworks/nextjs/cases/nextjs-cve-2024-34350.md", "secure_code_topics": [ "authz-server-side-recheck", "proxy-trust-boundary", "token-cookie-storage", "request-smuggling-boundary" ], "status": "generated", "triage_reasons": [], "verification_status": "triage-manual", "verification_mode": "synthetic", "last_verified_at": null, "last_run_id": null, "evidence_bundle": null, "historical_status": null, "latest_status": null, "browser_evidence": { "required": false, "present": false, "refs": [] }, "repro_profile_id": "request-smuggling-generic", "artifact_mode": "official-source", "blocked_reason": null, "metadata": { "source_names": [ "OSV Next.js" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }