CVE-2020-15084
Description
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.
Weakness
- CWE-285: Improper Authorization
Timeline
- 2020-06-30Published by the CNA16:10 UTC
- 2020-06-30GitHub advisory published (GHSA-6g6m-m6h5-w9gf)same day
Exploit and advisory records
GitHub advisory GHSA-6g6m-m6h5-w9gf, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| npm express-jwt | before 6.0.0 | 6.0.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| auth0 express-jwt | through 5.3.3no fix listed | not listed |
References
- https://github.com/auth0/express-jwt/commit/7ecab5f8f0cab5297c2b863596566eb0c019cdef
- https://github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2020-15084'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2020-15084'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2020-15084'curl 'https://api.contrastcyber.com/cve_products/CVE-2020-15084'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).