CVE-2020-15084CWE-285

Authorization bypass in express-jwt

High · published June 30, 2020

CVSS v3.1
7.7
EPSS
1%
Percentile
68.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.7 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.01221 · 68.5th percentile
Weakness
CWE-285 · Improper Authorization
Published
2020-06-30T16:10Z
EPSS history
Timeline
  • 30 JUN 16:10Z
    Authorization bypass in express-jwt
    cvelistv5