PT-2020-14172 · Auth0 · Express-Jwt+1

Gkwang

·

Published

2020-06-30

·

Updated

2025-12-17

·

CVE-2020-15084

CVSS v3.1

7.7

High

VectorAV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions express-jwt versions 5.3.3 and earlier
Description The issue arises when the algorithms entry is not specified in the configuration, potentially leading to authorization bypass when used with libraries like jwks-rsa as the secret. This occurs because the algorithms entry is not being enforced in versions up to and including 5.3.3. To be affected, one must be using express-jwt, not have algorithms configured, and use libraries such as jwks-rsa as the secret.
Recommendations For express-jwt versions 5.3.3 and earlier, specify algorithms in the express-jwt configuration to fix the issue. For example, configure algorithms as ['RS256'] to restrict allowed algorithms. This change will not impact users if algorithms was already specified, as the patch makes algorithms a required configuration.

Fix

Incorrect Authorization

Improper Authorization

Weakness Enumeration

Related Identifiers

CVE-2020-15084
GHSA-6G6M-M6H5-W9GF

Affected Products

Express-Jwt
Jwks-Rsa