{"id":"CVE-2022-21721","published":"2022-01-28T22:00:17Z","modified":"2025-05-05T16:33:30Z","title":"DOS Vulnerability in next.js","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02153,"percentile":0.82596,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/vercel/next.js/pull/33503","tags":["x_refsource_MISC"]},{"url":"https://github.com/vercel/next.js/releases/tag/v12.0.9","tags":["x_refsource_MISC"]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":16.52},{"name":"CVSS severity","points":4.13}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-25T15:46:29.621509Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"next","vulnerableRanges":[">=12.0.0, <12.0.9"],"patched":["12.0.9"],"from":["GHSA-wr66-vrwm-5g5x"],"provenance":"source"}],"summary":{"text":"A denial-of-service flaw in the i18n (internationalisation) handling of Next.js, a React framework, affects versions from 12.0.0 before 12.0.9. An unauthenticated remote attacker can disrupt the application's availability by sending requests to a deployment that uses next start or a custom server with built-in i18n support, while deployments where invalid requests are filtered before reaching Next.js, such as Vercel, are not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:00Z"},"euvd":{"id":"EUVD-2022-0727","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-37699","published":"2021-08-11","fixed":"11.1.0","kev":false},{"cve":"CVE-2021-39178","published":"2021-08-30","fixed":"11.1.1","kev":false},{"cve":"CVE-2021-43803","published":"2021-12-09","fixed":"12.0.5","kev":false,"link":{"from":"CVE-2021-43803","to":"CVE-2022-21721","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:next","fromFixed":"12.0.5","toFixed":"12.0.9","daysApart":50},{"kind":"similar","provenance":"machine","score":0.48,"basis":"same package + description similarity"}]}},{"cve":"CVE-2022-21721","published":"2022-01-28","fixed":"12.0.9","kev":false},{"cve":"CVE-2022-23646","published":"2022-02-17","fixed":"12.1.0","kev":false,"link":{"from":"CVE-2022-21721","to":"CVE-2022-23646","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:next","fromFixed":"12.0.9","toFixed":"12.1.0","daysApart":20}]}},{"cve":"CVE-2022-36046","published":"2022-08-31","fixed":"12.2.4","kev":false},{"cve":"CVE-2023-46298","published":"2023-10-22","fixed":"13.4.20-canary.13","kev":false}],"package":"npm:next"}}