MediumGHSA-wff4-fpwg-qqv3CVE-2022-36046PYSEC-2022-43188
Unexpected server crash in Next.js
Published 30 Aug 2022 · Updated 13 Jul 2026
Affected package
nextnpm
- Affected
- >=12.2.3 <12.2.4
- Fixed in
- 12.2.4
Update to the fixed version for your release line, for example:
npm install next@12.2.4Details
Impact
When specific requests are made to the Next.js server it can cause an unhandledRejection in the server which can crash the process to exit in specific Node.js versions with strict unhandledRejection handling.
- Affected: All of the following must be true to be affected by this CVE
- Node.js version above v15.0.0 being used with strict
unhandledRejectionexiting - Next.js version v12.2.3
- Using next start or a custom server
- Not affected: Deployments on Vercel (vercel.com) are not affected along with similar environments where
next-serverisn't being shared across requests.
Patches
https://github.com/vercel/next.js/releases/tag/v12.2.4
Is GHSA-wff4-fpwg-qqv3 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected next, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.