{"id":"CVE-2022-21721","summary":"DOS Vulnerability in next.js","details":"Next.js is a React framework. Starting with version 12.0.0 and prior to version 12.0.9, vulnerable code could allow a bad actor to trigger a denial of service attack for anyone using i18n functionality. In order to be affected by this CVE, one must use next start or a custom server and the built-in i18n support. Deployments on Vercel, along with similar environments where invalid requests are filtered before reaching Next.js, are not affected. A patch has been released, `next@12.0.9`, that mitigates this issue. As a workaround, one may ensure `/${locale}/_next/` is blocked from reaching the Next.js instance until it becomes feasible to upgrade.","aliases":["GHSA-wr66-vrwm-5g5x"],"modified":"2026-08-12T03:51:17.630950415Z","published":"2022-01-28T22:00:17Z","database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21721.json"},"references":[{"type":"WEB","url":"https://github.com/vercel/next.js/releases/tag/v12.0.9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21721.json"},{"type":"ADVISORY","url":"https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21721"},{"type":"FIX","url":"https://github.com/vercel/next.js/pull/33503"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vercel/next.js","events":[{"introduced":"8a450db14a1b29d506ec86df1a002bc525ab0da7"},{"fixed":"07431d3e0f057a0bd58af6d456e4bee646fd8b42"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"12.0.0"},{"fixed":"12.0.9"}]}}],"versions":["v12.0.9-canary.12","v12.0.9-canary.11","v12.0.9-canary.10","v12.0.9-canary.9","v12.0.9-canary.8","v12.0.9-canary.7","v12.0.9-canary.6","v12.0.9-canary.5","v12.0.9-canary.4","v12.0.9-canary.3","v12.0.9-canary.2","v12.0.9-canary.1","v12.0.9-canary.0","v12.0.8","v12.0.8-canary.22","v12.0.8-canary.21","v12.0.8-canary.20","v12.0.8-canary.19","v12.0.8-canary.18","v12.0.8-canary.17","v12.0.8-canary.16","v12.0.8-canary.15","v12.0.8-canary.14","v12.0.8-canary.13","v12.0.8-canary.12","v12.0.8-canary.11","v12.0.8-canary.10","v12.0.8-canary.9","v12.0.8-canary.8","v12.0.8-canary.7","v12.0.8-canary.6","v12.0.8-canary.5","v12.0.8-canary.4","v12.0.8-canary.3","v12.0.8-canary.2","v12.0.8-canary.1","v12.0.8-canary.0","v12.0.7","v12.0.7-canary.0","v12.0.6","v12.0.6-canary.0","v12.0.5","v12.0.5-canary.19","v12.0.5-canary.18","v12.0.5-canary.16","v12.0.5-canary.14","v12.0.5-canary.13","v12.0.5-canary.12","v12.0.5-canary.11","v12.0.5-canary.10","v12.0.5-canary.9","v12.0.5-canary.8","v12.0.5-canary.7","v12.0.5-canary.6","v12.0.5-canary.5","v12.0.5-canary.4","v12.0.5-canary.3","v12.0.5-canary.2","v12.0.5-canary.1","v12.0.5-canary.0","v12.0.4","v12.0.4-canary.15","v12.0.4-canary.14","v12.0.4-canary.13","v12.0.4-canary.12","v12.0.4-canary.11","v12.0.4-canary.10","v12.0.4-canary.9","v12.0.4-canary.8","v12.0.4-canary.6","v12.0.4-canary.5","v12.0.4-canary.4","v12.0.4-canary.3","v12.0.4-canary.2","v12.0.4-canary.1","v12.0.4-canary.0","v12.0.3","v12.0.3-canary.10","v12.0.3-canary.9","v12.0.3-canary.8","v12.0.3-canary.7","v12.0.3-canary.6","v12.0.3-canary.5","v12.0.3-canary.4","v12.0.3-canary.3","v12.0.3-canary.2","v12.0.3-canary.1","v12.0.3-canary.0","v12.0.2","v12.0.2-canary.14","v12.0.2-canary.13","v12.0.2-canary.12","v12.0.2-canary.11","v12.0.2-canary.10","v12.0.2-canary.9","v12.0.2-canary.8","v12.0.2-canary.7","v12.0.2-canary.6","v12.0.2-canary.5","v12.0.2-canary.4","v12.0.2-canary.3","v12.0.2-canary.2","v12.0.2-canary.1","v12.0.2-canary.0","v12.0.1","v12.0.1-canary.5","v12.0.1-canary.4","v12.0.1-canary.3","v12.0.1-canary.2","v12.0.1-canary.1","v12.0.1-canary.0","v12.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21721.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}