{ "canonical_id": "nextjs--CVE-2022-21721", "system_id": "nextjs", "display_name": "Next.js", "category": "frameworks", "advisory_mode": "core", "title": "Denial of Service Vulnerability in next.js", "summary": "### Impact\n\nVulnerable code could allow a bad actor to trigger a denial of service attack for anyone running a Next.js app at version >= 12.0.0, and using i18n functionality.\n\n- **Affected:** All of the following must be true to be affected by this CVE\n - Next.js versions above v12.0.0\n - Using next start or a custom server\n - Using the built-in i18n support\n- **Not affected:**\n - Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.\n\n### Patches\n\nA patch has been released, `next@12.0.9`, that mitigates this issue. We recommend all affected users upgrade as soon as possible.\n\n### Workarounds\n\nWe recommend upgrading whether you can reproduce or not although you can ensure `/${locale}/_next/` is blocked from reaching the Next.js instance until you upgrade.\n\n### For more information\n\nIf you have any questions or comments about this advisory:\n* Open an issue in [next](https://github.com/vercel/next.js)\n* Email us at [security@vercel.com](mailto:security@vercel.com)\n", "published_at": "2022-01-28T23:09:22Z", "updated_at": "2023-11-08T04:08:09.355091Z", "severity": "low", "cvss_score": 3.1, "exploit_status": "unknown", "source_confidence": "official", "official_source_url": "https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x", "secondary_source_urls": [ "https://nvd.nist.gov/vuln/detail/CVE-2022-21721", "https://github.com/vercel/next.js/pull/33503", "https://github.com/vercel/next.js", "https://github.com/vercel/next.js/releases/tag/v12.0.9" ], "aliases": [ "CVE-2022-21721", "GHSA-wr66-vrwm-5g5x" ], "cve_ids": [ "CVE-2022-21721" ], "ghsa_ids": [ "GHSA-wr66-vrwm-5g5x" ], "osv_ids": [ "GHSA-wr66-vrwm-5g5x" ], "affected_versions": [ "introduced=12.0.0, fixed<12.0.9" ], "fixed_versions": [ "12.0.9" ], "package_name": "next", "render_markdown": true, "case_path": "07-framework-security/frameworks/nextjs/cases/nextjs-cve-2022-21721.md", "secure_code_topics": [ "authz-server-side-recheck", "proxy-trust-boundary", "token-cookie-storage", "dependency-upgrade-policy" ], "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": "nextjs-proxy-boundary", "artifact_mode": "official-source", "blocked_reason": null, "metadata": { "source_names": [ "OSV Next.js" ], "source_kinds": [ "osv-batch" ], "candidate_count": 1 } }