CVE-2021-43803 Unexpected server crash in Next.js
HighCVSS 7.5
EPSS 47.3%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Upgrade path
12 packages: 12 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/nodejs(Alpine v3.15) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.16) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.17) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.18) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.19) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.20) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.21) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.22) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.23) | < 0 | 0 | Fixed |
| alpine/nodejs(Alpine v3.24) | < 0 | 0 | Fixed |
| npm next(npm) | >= 0.9.9, < 11.1.3; >= 12.0.0, < 12.0.5 | 11.1.3, 12.0.5 | Fixed |
| vercel next.js | = >= 11.1.0, < 11.1.3; = >= 12.0.0, < 12.0.5; >= 11.1.0, < 11.1.3; >= 12.0.0, < 12.0.5 | 11.1.3, 12.0.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm next(npm) | >= 12.0.0, < 12.0.5 | 12.0.5 |
| npm next(npm) | >= 0.9.9, < 11.1.3 | 11.1.3 |
| vercel next.js | >= 11.1.0, < 11.1.3 | 11.1.3 |
| vercel next.js | >= 12.0.0, < 12.0.5 | 12.0.5 |
| alpine/nodejs(Alpine:v3.15) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.16) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.17) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.18) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.19) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.20) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.21) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.22) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.23) | < 0 | No fix listed |
| alpine/nodejs(Alpine:v3.24) | < 0 | No fix listed |
| vercel next.js | = >= 11.1.0, < 11.1.3 | No fix listed |
| vercel next.js | = >= 12.0.0, < 12.0.5 | No fix listed |
References
- github.com patch third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com patch third-party-advisory
- github.com release-notes third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com release-notes third-party-advisory
- github.com
- security.alpinelinux.org vendor-advisory
- github.com product