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.
References
Link | Resource |
---|---|
https://github.com/auth0/express-jwt/commit/7ecab5f8f0cab5297c2b863596566eb0c019cdef | Patch Third Party Advisory |
https://github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf | Third Party Advisory |
https://github.com/auth0/express-jwt/commit/7ecab5f8f0cab5297c2b863596566eb0c019cdef | Patch Third Party Advisory |
https://github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf | Third Party Advisory |
Configurations
History
21 Nov 2024, 05:04
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 4.3
v3 : 7.7 |
References | () https://github.com/auth0/express-jwt/commit/7ecab5f8f0cab5297c2b863596566eb0c019cdef - Patch, Third Party Advisory | |
References | () https://github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf - Third Party Advisory |
Information
Published : 2020-06-30 16:15
Updated : 2024-11-21 05:04
NVD link : CVE-2020-15084
Mitre link : CVE-2020-15084
CVE.ORG link : CVE-2020-15084
JSON object : View
Products Affected
auth0
- express-jwt