Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

express-jwt-5.3.1.tgz: 1 vulnerabilities (highest severity is: 7.7) #30

Open
dev-mend-for-github-com bot opened this issue May 31, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented May 31, 2024

Vulnerable Library - express-jwt-5.3.1.tgz

JWT authentication middleware.

Library home page: https://registry.npmjs.org/express-jwt/-/express-jwt-5.3.1.tgz

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (express-jwt version) Remediation Possible** Reachability
CVE-2020-15084 High 7.7 express-jwt-5.3.1.tgz Direct 6.0.0

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2020-15084

Vulnerable Library - express-jwt-5.3.1.tgz

JWT authentication middleware.

Library home page: https://registry.npmjs.org/express-jwt/-/express-jwt-5.3.1.tgz

Dependency Hierarchy:

  • express-jwt-5.3.1.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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

CVSS 3 Score Details (7.7)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: Low
    • User Interaction: Required
    • Scope: Changed
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: GHSA-6g6m-m6h5-w9gf

Release Date: 2020-06-30

Fix Resolution: 6.0.0

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label May 31, 2024
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title express-jwt-5.3.1.tgz: 1 vulnerabilities (highest severity is: 9.1) reachable express-jwt-5.3.1.tgz: 1 vulnerabilities (highest severity is: 9.1) Jun 21, 2024
@dev-mend-for-github-com dev-mend-for-github-com bot changed the title express-jwt-5.3.1.tgz: 1 vulnerabilities (highest severity is: 9.1) express-jwt-5.3.1.tgz: 1 vulnerabilities (highest severity is: 7.7) Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants