Unexpected server crash in Next.js
CVE-2021-43803
Key Information:
- Vendor
Vercel
- Status
- CVE ID
- CVE ID:
- CVE-2021-43803
- Vendor
- CVE Published:
- 10 December 2021
- Fixed in
- Fixed in:
- 11.1.0, 11.1.3, 12.0.0, 12.0.5
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Yes: Works over the network, no login needed
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Install the next.js release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach next.js. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Patch this week"
- It can be exploited remotely without credentials.
- EPSS gives it a 47.2% chance of exploitation in the next 30 days.
- Its CVSS severity is high (7.5).
What is CVE-2021-43803?
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.
References
More Vercel Vulnerabilities
SVG Injection in Satori Library
Path Traversal in Next.js Framework
Server-Side Request Forgery in Next.js
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction