DOS Vulnerability in next.js
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
nextnpm | >= 12.0.0, < 12.0.9 | 12.0.9 |
Affected products
2- Next.js/Next.jsdescription
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-wr66-vrwm-5g5xghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-21721ghsaADVISORY
- github.com/vercel/next.js/pull/33503ghsax_refsource_MISCWEB
- github.com/vercel/next.js/releases/tag/v12.0.9ghsax_refsource_MISCWEB
- github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5xghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.