Resource exhaustion in Arasatasaygin Is.js

CVE-2020-26302

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 class: DoS (Denial of Service)

EPSS: 0.009 (55.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-26302?
CVE-2020-26302 is a high-severity vulnerability in Arasatasaygin Is.js, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2022-12-22.
How severe is CVE-2020-26302?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2020-26302 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.