passport-azure-ad@1.1.1 vulnerabilities

OIDC and Bearer Passport strategies for Azure Active Directory

  • latest version

    4.3.5

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    1 years ago

  • deprecated

    Package is deprecated

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the passport-azure-ad package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Denial of Service (DoS)

    passport-azure-ad is an OIDC and Bearer Passport strategies for Azure Active Directory.

    Affected versions of this package are vulnerable to Denial of Service (DoS). If the Authorization header is formed as: Authorization: Bearer (that is, just a blank space after "Bearer") the token will be an empty string and will crash the server in the authenticate method.

    How to fix Denial of Service (DoS)?

    Upgrade passport-azure-ad to version 4.3.0 or higher.

    <4.3.0
    • H
    Authentication Bypass

    passport-azure-ad is a OIDC and Bearer Passport strategies for Azure Active Directory. The package mishandles ID token validation, allowing an attacker to create a specifically crafted token to the targeted host web application, containing valid user identities. With this flaw, the attacker bypasses the authentication to the hosts web application.

    How to fix Authentication Bypass?

    Upgrade passport-azure-ad to version 1.4.6 or version 2.0.1 or higher, excluding version 2.0.0.

    >=1.0.0 <1.4.6>=2.0.0 <2.0.1