@clerk/nextjs@4.8.0 vulnerabilities

Clerk SDK for NextJS

  • latest version

    6.34.5

  • latest non vulnerable version

  • first published

    4 years ago

  • latest version published

    14 hours ago

  • licenses detected

  • Direct Vulnerabilities

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

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable 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