passport-azure-ad@3.0.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