Unauthorized access or privilege escalation due to a logic flaw in auth() in the App Router or getAuth() in the Pages Router.
All applications that that use @clerk/nextjs versions in the range of >= 4.7.0,< 4.29.3 in a Next.js backend to authenticate API Routes, App Router, or Route handlers. Specifically, those that call auth() in the App Router or getAuth() in the Pages Router. Only the @clerk/nextjs SDK is impacted. Other SDKs, including other Javascript-based SDKs, are not impacted.
Fix included in @clerk/nextjs@4.29.3.
{
"cwe_ids": [
"CWE-284",
"CWE-287",
"CWE-639"
],
"github_reviewed": true,
"github_reviewed_at": "2024-01-12T20:27:29Z",
"nvd_published_at": "2024-01-12T20:15:47Z",
"severity": "CRITICAL"
}