Vulnerability Details : CVE-2020-26302
Potential exploit
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.
Vulnerability category: Denial of service
Products affected by CVE-2020-26302
- cpe:2.3:a:is.js_project:is.js:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2020-26302
0.15%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 32 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2020-26302
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2020-26302
-
The product does not properly control the allocation and maintenance of a limited resource.Assigned by: security-advisories@github.com (Secondary)
-
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles.Assigned by: nvd@nist.gov (Primary)
References for CVE-2020-26302
-
https://securitylab.github.com/advisories/GHSL-2020-295-redos-is.js
GHSL-2020-295: ReDoS (Regular Expression Denial of service) in is.js - CVE-2020-26302 | GitHub Security LabExploit;Third Party Advisory
-
https://github.com/arasatasaygin/is.js/issues/320
Issue Tracking;Third Party Advisory
Jump to