better-auth@1.4.0-beta.23 vulnerabilities

The most comprehensive authentication framework for TypeScript.

  • latest version

    1.4.3

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    2 days ago

  • licenses detected

    • >=1.2.9-beta.9
  • Direct Vulnerabilities

    Known vulnerabilities in the better-auth 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
    • H
    Session Fixation

    better-auth is a The most comprehensive authentication library for TypeScript.

    Affected versions of this package are vulnerable to Session Fixation via the constantTimeEqual function in the crypto/buffer.ts file. An attacker can cause arbitrary user sessions to be revoked by forging cookies containing another user's session token and triggering the sign-out handler.

    How to fix Session Fixation?

    Upgrade better-auth to version 1.4.0 or higher.

    >=1.3.34 <1.4.0