{"api_version":"1","generated_at":"2026-05-13T21:18:51+00:00","cve":"CVE-2022-21721","urls":{"html":"https://cve.report/CVE-2022-21721","api":"https://cve.report/api/cve/CVE-2022-21721.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21721","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21721"},"summary":{"title":"CVE-2022-21721","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-01-28 22:15:00","updated_at":"2023-07-24 13:52:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://github.com/vercel/next.js/releases/tag/v12.0.9","name":"https://github.com/vercel/next.js/releases/tag/v12.0.9","refsource":"MISC","tags":[],"title":"Release v12.0.9 · vercel/next.js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vercel/next.js/pull/33503","name":"https://github.com/vercel/next.js/pull/33503","refsource":"MISC","tags":[],"title":"Fix static file check with i18n by ijjk · Pull Request #33503 · vercel/next.js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x","name":"https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x","refsource":"CONFIRM","tags":[],"title":"DOS Vulnerability for self-hosted next.js apps using i18n · Advisory · vercel/next.js · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21721","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21721","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21721","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vercel","cpe5":"next.js","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"node.js","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-21721","STATE":"PUBLIC","TITLE":"DOS Vulnerability in next.js"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x","refsource":"CONFIRM","url":"https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x"},{"name":"https://github.com/vercel/next.js/pull/33503","refsource":"MISC","url":"https://github.com/vercel/next.js/pull/33503"},{"name":"https://github.com/vercel/next.js/releases/tag/v12.0.9","refsource":"MISC","url":"https://github.com/vercel/next.js/releases/tag/v12.0.9"}]},"source":{"advisory":"GHSA-wr66-vrwm-5g5x","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-01-28 22:15:00","lastModifiedDate":"2023-07-24 13:52:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"PARTIAL","baseScore":4.3},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vercel:next.js:*:*:*:*:*:node.js:*:*","versionStartIncluding":"12.0.0","versionEndExcluding":"12.0.9","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"21721","Ordinal":"221456","Title":"CVE-2022-21721","CVE":"CVE-2022-21721","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"21721","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2022","CveId":"21721","Ordinal":"2","NoteData":"2022-01-28","Type":"Other","Title":"Published"},{"CveYear":"2022","CveId":"21721","Ordinal":"3","NoteData":"2022-01-28","Type":"Other","Title":"Modified"}]}}}