@acastellon/auth@2.2.0

Authorization Filtering for NodeJS Express Application (NTLM + LDAP + JWT + AWS Cognito + Azure AD/Entra ID + OIDC providers + SAML + env var secrets)

  • latest version

    2.3.0

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    27 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @acastellon/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
    • C
    User Impersonation

    @acastellon/auth is an Authorization Filtering for NodeJS Express Application (NTLM + LDAP + JWT + AWS Cognito + Azure AD/Entra ID + OIDC providers + SAML + env var secrets)

    Affected versions of this package are vulnerable to User Impersonation via the validateToken process. An attacker can gain unauthorized access to protected routes and potentially escalate privileges by sending crafted HTTP requests with spoofed auth-user and Host headers, causing the middleware to bypass token validation before standard authentication checks are performed. This is only exploitable if downstream services trust the auth-user or is-* headers provided by the client.

    How to fix User Impersonation?

    Upgrade @acastellon/auth to version 2.3.0 or higher.

    <2.3.0