passport-azure-ad@1.3.6 vulnerabilities

OIDC and Bearer Passport strategies for Azure Active Directory

Direct Vulnerabilities

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

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable 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