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

CVE-2020-26302 (High) detected in is_js-0.9.0.tgz #219

Open
mend-bolt-for-github bot opened this issue Dec 25, 2022 · 0 comments
Open

CVE-2020-26302 (High) detected in is_js-0.9.0.tgz #219

mend-bolt-for-github bot opened this issue Dec 25, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link

CVE-2020-26302 - High Severity Vulnerability

Vulnerable Library - is_js-0.9.0.tgz

micro check library

Library home page: https://registry.npmjs.org/is_js/-/is_js-0.9.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@reactioncommerce/api-plugin-authentication/node_modules/is_js/package.json

Dependency Hierarchy:

  • api-plugin-authentication-2.2.3.tgz (Root Library)
    • graphql-api-0.33.1.tgz
      • request-ip-2.1.3.tgz
        • is_js-0.9.0.tgz (Vulnerable Library)

Found in base branch: master

Vulnerability Details

is.js is a general-purpose check library. Versions 0.9.0 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). is.js uses a regex copy-pasted from a gist to validate URLs. Trying to validate a malicious string can cause the regex to loop “forever." This vulnerability was found using a CodeQL query which identifies inefficient regular expressions. is.js has no patch for this issue.

Publish Date: 2022-12-22

URL: CVE-2020-26302

CVSS 3 Score Details (7.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Dec 25, 2022
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 WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants