Auth bypass in Auth0 Express-Jwt
CVE-2020-15084
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.013, 69.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Auth0 Express-Jwt — versions <= 5.3.3
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (Claret-cyber/Container-Security-Report). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf (Third Party Advisory)
- github.com/auth0/express-jwt/commit/7ecab5f8f0cab5297c2b863596566eb0c019cdef (Patch, Third Party Advisory)