{"id":"CVE-2024-22206","published":"2024-01-12T20:07:40Z","modified":"2024-11-14T15:42:39Z","title":"@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)","vendor":"clerk","product":"javascript","tier":"tail","description":{"text":"Clerk helps developers build user management. Unauthorized access or privilege escalation due to a logic flaw in auth() in the App Router or getAuth() in the Pages Router. This vulnerability was patched in version 4.29.3.\n","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00682,"percentile":0.53418,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"},{"id":"CWE-287","name":"Improper Authentication"},{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"}],"references":[{"url":"https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","tags":["x_refsource_CONFIRM"]},{"url":"https://clerk.com/changelog/2024-01-12","tags":["x_refsource_MISC"]},{"url":"https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","tags":["x_refsource_MISC"]}],"priority":{"score":17.1,"factors":[{"name":"EPSS percentile","points":10.68},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"clerk","affectedVersions":[{"vendor":"clerk","product":"javascript","versions":[">= 4.7.0, < 4.29.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-11-14T15:42:26.578504Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@clerk/nextjs","vulnerableRanges":[">=4.7.0, <4.29.3"],"patched":["4.29.3"],"from":["GHSA-q6w5-jg5q-47vg"],"provenance":"source"}],"summary":{"text":"The flaw is a logic error in the auth() helper used in the App Router and the getAuth() helper used in the Pages Router of the @clerk/nextjs package, a Clerk component for Next.js, which allows unauthorized access or privilege escalation. An attacker who can send requests to an affected application can reach data or actions they should not have access to, with no authentication, no user interaction, and a high-complexity attack condition.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:43:05Z"},"euvd":{"id":"EUVD-2024-0398","exploited":false,"provenance":"source"}}