Description
Clerk JavaScript is the official JavaScript repository for Clerk authentication. In @clerk/hono from versions 0.1.0 to before 0.1.5, @clerk/express from versions 2.0.0 to before 2.0.7, @clerk/backend from versions 3.0.0 to before 3.2.3, and @clerk/fastify from versions 3.1.0 to before 3.1.5, the clerkFrontendApiProxy function in @clerk/backend is vulnerable to Server-Side Request Forgery (SSRF). An unauthenticated attacker can craft a request path that causes the proxy to send the application's Clerk-Secret-Key to an attacker-controlled server. This issue has been patched in @clerk/hono version 0.1.5, @clerk/express version 2.0.7, @clerk/backend version 3.2.3, and @clerk/fastify version 3.1.5.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| clerk | javascript | @clerk/hono >= 0.1.0, < 0.1.5, @clerk/express >= 2.0.0, < 2.0.7, @clerk/backend >= 3.0.0, < 3.2.3, @clerk/fastify >= 3.1.0, < 3.1.5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @clerk/backend | >= 3.0.0, < 3.2.3 | 3.2.3 | GHSA-gjxx-92w9-8v8f |
| npm | @clerk/express | >= 2.0.0, < 2.0.7 | 2.0.7 | GHSA-gjxx-92w9-8v8f |
| npm | @clerk/fastify | >= 3.1.0, < 3.1.5 | 3.1.5 | GHSA-gjxx-92w9-8v8f |
| npm | @clerk/hono | >= 0.1.0, < 0.1.5 | 0.1.5 | GHSA-gjxx-92w9-8v8f |