{"id":"CVE-2024-22206","state":"PUBLISHED","title":"@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)","description":"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","publishedAt":"2024-01-12T20:07:40.402Z","updatedAt":"2024-11-14T15:42:39.402Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["clerk javascript"],"affected":[{"vendor":"clerk","product":"javascript","versions":[{"version":">= 4.7.0, < 4.29.3","status":"affected"}]}],"references":["https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","https://clerk.com/changelog/2024-01-12","https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3"],"weaknesses":["CWE-284","CWE-287","CWE-639"],"ingestedAt":"2026-10-29T20:06:59.846Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/22xxx/CVE-2024-22206.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-22206","state":"PUBLISHED","datePublished":"2024-01-12T20:07:40.402Z","dateUpdated":"2024-11-14T15:42:39.402Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-01-08T04:59:27.373Z"},"containers":{"cna":{"title":"@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"clerk","product":"javascript","versions":[{"version":">= 4.7.0, < 4.29.3","status":"affected"}]}],"references":[{"url":"https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","name":"https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","tags":["x_refsource_CONFIRM"]},{"url":"https://clerk.com/changelog/2024-01-12","name":"https://clerk.com/changelog/2024-01-12","tags":["x_refsource_MISC"]},{"url":"https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","name":"https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","lang":"en","description":"CWE-284: Improper Access Control","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-639","lang":"en","description":"CWE-639: Authorization Bypass Through User-Controlled Key","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-01-12T20:07:40.402Z"},"source":{"advisory":"GHSA-q6w5-jg5q-47vg","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","name":"https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://clerk.com/changelog/2024-01-12","name":"https://clerk.com/changelog/2024-01-12","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","name":"https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-01T22:35:34.930Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-11-14T15:42:26.578504Z","id":"CVE-2024-22206","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-14T15:42:39.402Z"}}]}}}