CVE-2022-36046:
Unexpected server crash in Next.js
5.3
CVSS ScoreBasic Information
CVE ID
GHSA ID
EPSS Score
-
CWE
Published
8/30/2022
Updated
1/29/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
next | npm | = 12.2.3 | 12.2.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unhandled promise rejections in edge runtime and server request handling paths. The v12.2.4 release specifically mentions fixing edge runtime rejections (#39091), indicating runEdgeFunction was a source of uncaught exceptions. The Server.handleRequest is implicated as the entry point for custom server implementations where these rejections would bubble up. Both functions would appear in stack traces when processing malicious requests that trigger rejected promises, matching the described crash scenario.