← back
CVE-2022-36046

Unexpected server crash in Next.js version 12.2.3

CVSS 5.3 MEDIUMEPSS 1.0%CWE-248
In short

Next.js version 12.2.3 can crash unexpectedly when running on Node.js v15+ with certain server configurations, causing your web application to become unavailable.

Technical detail

An unhandled promise rejection in Next.js 12.2.3 triggers process termination when running with Node.js v15.0.0+ configured with strict unhandledRejection handling on next start or custom servers; shared server instances across requests are vulnerable, while Vercel deployments are unaffected due to isolated server contexts.

Summary generated and translated by AI from the official description.
Next.js is a React framework that can provide building blocks to create web applications. All of the following must be true to be affected by this CVE: Next.js version 12.2.3, Node.js version above v15.0.0 being used with strict `unhandledRejection` exiting AND using next start or a [custom server](https://nextjs.org/docs/advanced-features/custom-server). Deployments on Vercel ([vercel.com](https://vercel.com/)) are not affected along with similar environments where `next-server` isn't being shared across requests.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
vercel · next.js

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →