express-basic-auth@0.1.1 vulnerabilities

Plug & play basic auth middleware for express

  • latest version

    1.2.1

  • latest non vulnerable version

  • first published

    8 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.

    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
    • 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