@clerk/shared@2.22.0-canary.v20250217120116

Internal package utils used by the Clerk SDKs

  • latest version

    4.30.1

  • latest non vulnerable version

  • first published

    3 years ago

  • latest version published

    1 days ago

  • licenses detected

    • >=0.24.5-snapshot.v6ff1e40
  • Direct Vulnerabilities

    Known vulnerabilities in the @clerk/shared 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
    Incorrect Authorization

    @clerk/shared is an Internal package utils used by the Clerk SDKs

    Affected versions of this package are vulnerable to Incorrect Authorization via the createPathMatcher() function in @clerk/shared used by downstream createRouteMatcher(). An attacker can gain unauthorized access to protected routes by crafting requests that bypass middleware checks and reach downstream handlers.

    How to fix Incorrect Authorization?

    Upgrade @clerk/shared to version 2.22.1, 3.47.4, 4.8.1 or higher.

    >=2.20.17 <2.22.1>=3.47.3 <3.47.4>=4.0.0 <4.8.1