Clerk JavaScript is the official JavaScript repository for Clerk authentication. has(), auth.protect(), and related authorization predicates in @clerk/shared, @clerk/nextjs, @clerk/backend, and other framework SDKs can return true for certain combined authorization checks when the result should be false, allowing a gated action to proceed for a user who does not satisfy the full set of requested conditions. This call shape can be bypassed if certain conditions are met: a has() or auth.protect() call that combines a reverification check with any of role, permission, feature, or plan, or that combines a billing check (feature or plan) with a role or permission check. This vulnerability is fixed in @clerk/clerk-js 5.125.10 and 6.7.5.
Attack Parameters
Impact Assessment
CVSS Vector v4.0
Weakness Type (CWE)
Vulnerable Products 29
| Configuration | From (including) | Up to (excluding) |
|---|---|---|
|
Clerk Clerk\/Astro
cpe:2.3:a:clerk:clerk\/astro:*:*:*:*:*:node.js:*:*
|
2.0.0
|
2.17.11
|
|
Clerk Clerk\/Astro
cpe:2.3:a:clerk:clerk\/astro:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.0.18
|
|
Clerk Clerk\/Backend
cpe:2.3:a:clerk:clerk\/backend:*:*:*:*:*:node.js:*:*
|
2.0.0
|
2.33.3
|
|
Clerk Clerk\/Backend
cpe:2.3:a:clerk:clerk\/backend:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.2.14
|
|
Clerk Clerk\/Chrome-Extension
cpe:2.3:a:clerk:clerk\/chrome-extension:*:*:*:*:*:node.js:*:*
|
1.3.5
|
2.9.15
|
|
Clerk Clerk\/Chrome-Extension
cpe:2.3:a:clerk:clerk\/chrome-extension:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.1.15
|
|
Clerk Clerk\/Clerk-Expo
cpe:2.3:a:clerk:clerk\/clerk-expo:*:*:*:*:*:node.js:*:*
|
2.2.11
|
2.19.36
|
|
Clerk Clerk\/Clerk-Js
cpe:2.3:a:clerk:clerk\/clerk-js:*:*:*:*:*:node.js:*:*
|
5.22.0
|
5.125.10
|
|
Clerk Clerk\/Clerk-Js
cpe:2.3:a:clerk:clerk\/clerk-js:*:*:*:*:*:node.js:*:*
|
6.0.0
|
6.7.5
|
|
Clerk Clerk\/Clerk-React
cpe:2.3:a:clerk:clerk\/clerk-react:*:*:*:*:*:node.js:*:*
|
5.9.0
|
5.61.6
|
|
Clerk Clerk\/Expo
cpe:2.3:a:clerk:clerk\/expo:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.2.2
|
|
Clerk Clerk\/Express
cpe:2.3:a:clerk:clerk\/express:*:*:*:*:*:node.js:*:*
|
0.1.0
|
1.7.79
|
|
Clerk Clerk\/Express
cpe:2.3:a:clerk:clerk\/express:*:*:*:*:*:node.js:*:*
|
2.0.0
|
2.1.6
|
|
Clerk Clerk\/Fastify
cpe:2.3:a:clerk:clerk\/fastify:*:*:*:*:*:node.js:*:*
|
1.0.42
|
2.6.31
|
|
Clerk Clerk\/Fastify
cpe:2.3:a:clerk:clerk\/fastify:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.1.16
|
|
Clerk Clerk\/Hono
cpe:2.3:a:clerk:clerk\/hono:*:*:*:*:*:node.js:*:*
|
0.0.2
|
0.1.16
|
|
Clerk Clerk\/Nextjs
cpe:2.3:a:clerk:clerk\/nextjs:*:*:*:*:*:node.js:*:*
|
6.0.0
|
<= 6.39.3
|
|
Clerk Clerk\/Nextjs
cpe:2.3:a:clerk:clerk\/nextjs:*:*:*:*:*:node.js:*:*
|
7.0.0
|
7.2.4
|
|
Clerk Clerk\/Nuxt
cpe:2.3:a:clerk:clerk\/nuxt:*:*:*:*:*:node.js:*:*
|
1.0.0
|
1.13.29
|
|
Clerk Clerk\/Nuxt
cpe:2.3:a:clerk:clerk\/nuxt:*:*:*:*:*:node.js:*:*
|
2.0.0
|
2.2.5
|
|
Clerk Clerk\/React
cpe:2.3:a:clerk:clerk\/react:*:*:*:*:*:node.js:*:*
|
6.0.0
|
6.4.3
|
|
Clerk Clerk\/React-Router
cpe:2.3:a:clerk:clerk\/react-router:*:*:*:*:*:node.js:*:*
|
0.0.1
|
2.4.13
|
|
Clerk Clerk\/React-Router
cpe:2.3:a:clerk:clerk\/react-router:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.1.4
|
|
Clerk Clerk\/Shared
cpe:2.3:a:clerk:clerk\/shared:*:*:*:*:*:node.js:*:*
|
3.0.0
|
3.47.5
|
|
Clerk Clerk\/Shared
cpe:2.3:a:clerk:clerk\/shared:*:*:*:*:*:node.js:*:*
|
4.0.0
|
4.8.3
|
|
Clerk Clerk\/Tanstack-React-Start
cpe:2.3:a:clerk:clerk\/tanstack-react-start:*:*:*:*:*:node.js:*:*
|
0.0.1
|
0.29.11
|
|
Clerk Clerk\/Tanstack-React-Start
cpe:2.3:a:clerk:clerk\/tanstack-react-start:*:*:*:*:*:node.js:*:*
|
1.0.0
|
1.1.4
|
|
Clerk Clerk\/Vue
cpe:2.3:a:clerk:clerk\/vue:*:*:*:*:*:node.js:*:*
|
1.0.0
|
1.17.21
|
|
Clerk Clerk\/Vue
cpe:2.3:a:clerk:clerk\/vue:*:*:*:*:*:node.js:*:*
|
2.0.0
|
2.0.16
|