CVE-2024-22206

@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)

State
Published
Severity
9.1 Critical
Published
Jan 12, 2024
Updated
Nov 14, 2024
Reserved
Jan 8, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.1 CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HGitHub_M

Weaknesses

  • CWE-284 Improper Access Control
  • CWE-287 Improper Authentication
  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
javascriptclerk
  • >= 4.7.0, < 4.29.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.