Feed
5.9MEDIUM

CVE-2022-21721Denial of Service Vulnerability in next.js

A medium-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 2.1% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
2.1%
percentile 82%
Priority
25/100 medium
how it is computed
Fix
Named by a source
CVE published 28 Jan 2022

Reference

None of the "Needs attention" rules apply right now.

EPSS 2.1% (+2) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • next (npm) pkg:npm/next

    • Affected>= 12.0.0, < 12.0.9Fixed in12.0.9OSV (GHSA-wr66-vrwm-5g5x)

Confirmed facts

CVSS
5.9 MEDIUM (version 3.1)
Score from
GitHub Advisory Database (GHSA-wr66-vrwm-5g5x)
Attack vector
network
Attack complexity
high
Privileges required
none
User interaction
none
Weakness
CWE-20, CWE-400

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)### 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 can ensure `/${locale}/_next/` is blocked from reaching the Next.js instance until you upgrade. ### For more information If you have any questions or comments about this advisory: * Open an issue in [next](https://github.com/vercel/next.js) * Email us at [[email protected]](mailto:[email protected])

Update history

No events recorded. Our history starts on 1 Jan 2025.

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 9 min ago · osv 9 min ago · nvd 70 min ago · epss 9 min ago · JSON · ask via MCP: explain_vulnerability

Also known as GHSA-wr66-vrwm-5g5x