CVE-2022-21721
published 2022-01-28CVE-2022-21721: 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…
PriorityP341high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
2.15%
79.9th percentile
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, `[email protected]`, 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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| next | next | >= 12.0.0 < 12.0.9 | 12.0.9 |
| vercel | next.js | >= 12.0.0 < 12.0.9 | 12.0.9 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:N/A:P
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Denial of Service Vulnerability in next.js
ghsa·2022-01-28
CVE-2022-21721 [MEDIUM] CWE-20 Denial of Service Vulnerability in next.js
Denial of Service Vulnerability in next.js
### Impact
Vulnerable code could allow a bad actor to trigger a denial of service attack for anyone running a Next.js app at version >= 12.0.0, and using i18n functionality.
- **Affected:** All of the following must be true to be affected by this CVE
- Next.js versions above v12.0.0
- Using next start or a custom server
- Using the built-in i18n support
- **Not affected:**
- Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.
### Patches
A patch has been released, `[email protected]`, that mitigates this issue. We recommend all affected users upgrade as soon as possible.
### Workarounds
We recommend upgrading whether you can reproduce or not although you
OSV
Denial of Service Vulnerability in next.js
osv·2022-01-28
CVE-2022-21721 [MEDIUM] Denial of Service Vulnerability in next.js
Denial of Service Vulnerability in next.js
### Impact
Vulnerable code could allow a bad actor to trigger a denial of service attack for anyone running a Next.js app at version >= 12.0.0, and using i18n functionality.
- **Affected:** All of the following must be true to be affected by this CVE
- Next.js versions above v12.0.0
- Using next start or a custom server
- Using the built-in i18n support
- **Not affected:**
- Deployments on Vercel (vercel.com) are not affected along with similar environments where invalid requests are filtered before reaching Next.js.
### Patches
A patch has been released, `[email protected]`, that mitigates this issue. We recommend all affected users upgrade as soon as possible.
### Workarounds
We recommend upgrading whether you can reproduce or not although you
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/vercel/next.js/pull/33503https://github.com/vercel/next.js/releases/tag/v12.0.9https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5xhttps://github.com/vercel/next.js/pull/33503https://github.com/vercel/next.js/releases/tag/v12.0.9https://github.com/vercel/next.js/security/advisories/GHSA-wr66-vrwm-5g5x
2022-01-28
Published