REDHAT-BUG-2477187: High severity Vercel Next.js vulnerability
Next.js is a React framework for building full-stack web applications. From 13.4.13 to before 15.5.16 and 16.2.5, self-hosted applications using the built-in Node.js server can be vulnerable to server-side request forgery through crafted WebSocket upgrade requests. An attacker can cause the server to proxy requests to arbitrary internal or external destinations, which may expose internal services or cloud metadata endpoints. Vercel-hosted deployments are not affected. This vulnerability is fixed in 15.5.16 and 16.2.5.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Next.js (self-hosted apps using built-in Node.js server)to a version that resolves this vulnerability.Fixed in 15.5.16 - Upgrade
Upgrade
Next.js (self-hosted apps using built-in Node.js server)to a version that resolves this vulnerability.Fixed in 16.2.5
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-2477187?
The severity of REDHAT-BUG-2477187 is classified as high, with a risk score of 7.
What is the vulnerability in REDHAT-BUG-2477187?
REDHAT-BUG-2477187 involves a server-side request forgery vulnerability in self-hosted applications using Next.js versions from 13.4.13 to before 15.5.16 and 16.2.5.
How can I mitigate the risk of REDHAT-BUG-2477187?
To mitigate the risk of REDHAT-BUG-2477187, it is recommended to upgrade Next.js to version 15.5.16 or 16.2.5 and above.
Who is affected by REDHAT-BUG-2477187?
Developers and organizations using self-hosted Vercel Next.js applications are affected by REDHAT-BUG-2477187.
What should I do if I am exposed to REDHAT-BUG-2477187?
If exposed to REDHAT-BUG-2477187, ensure immediate upgrade of your Next.js framework to the latest patched version to prevent exploitation.