Authorization Bypass Affecting express-jwt package, versions <6.0.0


0.0
high

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High

    Threat Intelligence

    EPSS 0.2% (57th percentile)
Expand this section
NVD
9.1 critical

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-EXPRESSJWT-575022
  • published 1 Jul 2020
  • disclosed 1 Jul 2020
  • credit IST Group

How to fix?

Upgrade express-jwt to version 6.0.0 or higher.

Overview

express-jwt is a JWT authentication middleware.

Affected versions of this package are vulnerable to Authorization Bypass. The algorithms entry to be specified in the configuration is not being enforced. When algorithms is not specified in the configuration, with the combination of jwks-rsa, it may lead to authorization bypass.

References