Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @clerk/nextjs
  4. ›
  5. CVE-2024-22206

CVE-2024-22206: Authorization Bypass Through User-Controlled Key

January 12, 2024

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.

References

  • clerk.com/changelog/2024-01-12
  • github.com/advisories/GHSA-q6w5-jg5q-47vg
  • github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3
  • github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg
  • nvd.nist.gov/vuln/detail/CVE-2024-22206

Code Behaviors & Features

Detect and mitigate CVE-2024-22206 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.7.0 before 4.29.3

Fixed versions

  • 4.29.3

Solution

Upgrade to version 4.29.3 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

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

Source file

npm/@clerk/nextjs/CVE-2024-22206.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:38 +0000.