Authorization Bypass Affecting express-jwt package, versions <6.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (49th percentile)

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 IDSNYK-JS-EXPRESSJWT-575022
  • published1 Jul 2020
  • disclosed1 Jul 2020
  • creditIST Group

Introduced: 1 Jul 2020

CVE-2020-15084  (opens in a new tab)
CWE-285  (opens in a new tab)

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

CVSS Scores

version 3.1