Skip to main content
← All vulnerabilities
CVE-2020-15084GHSA-6G6M-M6H5-W9GF

Authorization bypass in express-jwt

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.0
None on Exploit-DB, Metasploit or GitHub

Summary

In express-jwt (NPM package) up and including version 5.3.3, 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. You are affected by this vulnerability if all of the following conditions apply: - You are using express-jwt - You do not have algorithms configured in your express-jwt configuration. - You are using libraries such as jwks-rsa as the secret. You can fix this by specifying algorithms in the express-jwt configuration. See linked GHSA for example. This is also fixed in version 6.0.0.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • auth0 express-jwt

    through 5.3.3

  • express-jwtnpm

    fixed in 6.0.0

References 2

GitHub · auth0/express-jwt