Red Hat VEX
RHVEX-CVE-2024-51479
next.js: next: authorization bypass in Next.js
Details
A flaw was found in the Next.js framework. An incorrectly sanitized query parameter can cause an invalid routing condition, resulting in the wrong route being served to users and allowing authorization bypass when an application is performing path-based middleware authorization.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:9 | aspnetcore-runtime-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | aspnetcore-targeting-pack-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-apphost-pack-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-host | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-hostfxr-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-runtime-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-sdk-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-sdk-7.0-source-built-artifacts | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-targeting-pack-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet-templates-7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | dotnet7.0 | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:9 | netstandard-targeting-pack-2.1 | All versions, no fix (out of support scope) |
References
- https://access.redhat.com/security/cve/CVE-2024-51479
- https://bugzilla.redhat.com/show_bug.cgi?id=2332884
- https://www.cve.org/CVERecord?id=CVE-2024-51479
- https://nvd.nist.gov/vuln/detail/CVE-2024-51479
- https://github.com/vercel/next.js/releases/tag/v14.2.15
- https://github.com/vercel/next.js/security/advisories/GHSA-7gfc-8cq8-jh5f