Advisory

GHSA-25mp-g6fv-mqxx

Also known as: CVE-2021-43803

Summary

Unexpected server crash in Next.js.

Details

Next.js is a React framework. In versions of Next.js prior to 12.0.5 or 11.1.3, invalid or malformed URLs could lead to a server crash. In order to be affected by this issue, the deployment must use Next.js versions above 11.1.0 and below 12.0.5, Node.js above 15.0.0, and next start or a custom server. Deployments on Vercel are not affected, along with similar environments where invalid requests are filtered before reaching Next.js. Versions 12.0.5 and 11.1.3 contain patches for this issue. Note that prior version 0.9.9 package next hosted a different utility (0.4.1 being the latest version of that codebase), and this advisory does not apply to those versions.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-12-07 21:12 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

next

npm · All systems

Affected

  • introduced 12.0.0, fixed 12.0.5 (semver)

Fixed versions

12.0.5

Fix

next

npm · All systems

Affected

  • introduced 0.9.9, fixed 11.1.3 (semver)

Fixed versions

11.1.3

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