@clerk/nextjs@4.7.8-staging.1 vulnerabilities

Clerk SDK for NextJS

Direct Vulnerabilities

Known vulnerabilities in the @clerk/nextjs package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Improper Access Control

@clerk/nextjs is a Clerk SDK for NextJS

Affected versions of this package are vulnerable to Improper Access Control due to a logic flaw in the auth method in the App Router or getAuth method in the Pages Router. An attacker can gain unauthorized access or escalate privileges by exploiting the insecure direct object reference (IDOR) vulnerability.

Note

Only the @clerk/nextjs SDK is impacted. Other SDKs, including other Javascript-based SDKs, are not affected.

How to fix Improper Access Control?

Upgrade @clerk/nextjs to version 4.29.3 or higher.

>=4.7.0 <4.29.3