express-basic-auth@0.1.3 vulnerabilities

Plug & play basic auth middleware for express

Direct Vulnerabilities

Known vulnerabilities in the express-basic-auth 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
  • L
Timing Attack

express-basic-auth is a simple plug & play HTTP basic auth middleware for Express.

Affected versions of this package are vulnerable to Timing Attack due to it using native string compare for passwords, as oppose to comparing with a set constant time.

How to fix Timing Attack?

Upgrade express-basic-auth to version 1.1.7 or higher.