Vulnerability · Published Jan 12, 2024 · Assigned by GitHub_M
CVE-2024-22206@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)
Critical 9.1
In plain English
A critical-severity improper access control in javascript from clerk. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)0.7%top 47.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | @clerk/nextjs | 4.29.3 | GHSA-q6w5-jg5q-47vg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| clerk | javascript | >= 4.7.0, < 4.29.3 |
Weakness: CWE-284, CWE-287, CWE-639 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg x_refsource_CONFIRM
- https://clerk.com/changelog/2024-01-12 x_refsource_MISC
- https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3 x_refsource_MISC