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.
CVE-2020-15084 - Critical Severity Vulnerability
JWT authentication middleware.
Library home page: https://registry.npmjs.org/express-jwt/-/express-jwt-3.3.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/express-jwt/package.json
Dependency Hierarchy: - :x: **express-jwt-3.3.0.tgz** (Vulnerable Library)
Found in HEAD commit: 289c77565fc637d4c0e4bf4a9a1e81df96cd190a
Found in base branch: master
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.
Publish Date: 2020-06-30
URL: CVE-2020-15084
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: None
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://github.com/auth0/express-jwt/security/advisories/GHSA-6g6m-m6h5-w9gf
Release Date: 2020-06-30
Fix Resolution: 6.0.0
Step up your Open Source Security Game with Mend here