Vulnerability · Published Aug 31, 2022 · Assigned by GitHub_M
CVE-2022-36046Unexpected server crash in Next.js version 12.2.3
Medium 5.3
In plain English
A medium-severity security flaw in next.js from vercel. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.2% (higher than 68% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | nextjs | no fix listed | PYSEC-2022-43188 |
| npm | next | 12.2.4 | GHSA-wff4-fpwg-qqv3 |
Affected products (as reported)
Weakness: CWE-248 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/vercel/next.js/security/advisories/GHSA-wff4-fpwg-qqv3 x_refsource_CONFIRM
- https://github.com/vercel/next.js/releases/tag/v12.2.4 x_refsource_MISC