Skip to content

Unexpected server crash in Next.js

Moderate severity GitHub Reviewed Published Aug 24, 2022 in vercel/next.js • Updated Jan 29, 2023

Package

npm next (npm)

Affected versions

= 12.2.3

Patched versions

12.2.4

Description

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

References

@ijjk ijjk published to vercel/next.js Aug 24, 2022
Published to the GitHub Advisory Database Aug 30, 2022
Reviewed Aug 30, 2022
Published by the National Vulnerability Database Aug 31, 2022
Last updated Jan 29, 2023

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2022-36046

GHSA ID

GHSA-wff4-fpwg-qqv3

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.