Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. next
  4. ›
  5. CVE-2022-21721

CVE-2022-21721: Uncontrolled Resource Consumption

January 28, 2022 (updated July 24, 2023)

Next. 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.

References

  • github.com/vercel/next.js/pull/33503
  • github.com/vercel/next.js/releases/tag/v12.0.9
  • github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x
  • nvd.nist.gov/vuln/detail/CVE-2022-21721

Code Behaviors & Features

Detect and mitigate CVE-2022-21721 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 12.0.0 before 12.0.9

Fixed versions

  • 12.0.9

Solution

Upgrade to version 12.0.9 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Source file

npm/next/CVE-2022-21721.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:22 +0000.