Advisory

GHSA-wff4-fpwg-qqv3

Also known as: CVE-2022-36046, PYSEC-2022-43188

Summary

Unexpected server crash in Next.js

Details

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 unhandledRejection exiting
  • 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-server isn't being shared across requests.

Patches
https://github.com/vercel/next.js/releases/tag/v12.2.4

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-08-30 20:38 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 12.2.3, fixed 12.2.4 (semver)

Fixed versions

12.2.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences