Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1wdnJ3LWc2ZngtbWN4Ms4AA0Tj
is_js vulnerable to Regular Expression Denial of Service
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.
Permalink: https://github.com/advisories/GHSA-pvrw-g6fx-mcx2JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1wdnJ3LWc2ZngtbWN4Ms4AA0Tj
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 10 months ago
Updated: 10 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Identifiers: GHSA-pvrw-g6fx-mcx2, CVE-2020-26302
References:
- https://nvd.nist.gov/vuln/detail/CVE-2020-26302
- https://github.com/arasatasaygin/is.js/issues/320
- https://securitylab.github.com/advisories/GHSL-2020-295-redos-is.js
- https://github.com/advisories/GHSA-pvrw-g6fx-mcx2
Blast Radius: 30.1
Affected Packages
npm:is_js
Dependent packages: 377Dependent repositories: 10,385
Downloads: 1,624,999 last month
Affected Version Ranges: <= 0.9.0
No known fixed version
All affected versions: 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.7.0, 0.7.1, 0.7.3, 0.7.4, 0.7.5, 0.7.6, 0.8.0, 0.9.0