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.
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 - :x: **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