express-basic-auth@0.2.3 vulnerabilities

Plug & play basic auth middleware for express

  • latest version

    1.2.1

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    3 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the express-basic-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
    • 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.

    <1.1.7