TROYANOSYVIRUS
Back to CVEs

CVE-2020-26302

HIGH
7.5

Description

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 Details

CVSS v3.1 Score7.5
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published12/22/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0

Affected Products

is.js_project:is.js

Weaknesses (CWE)

CWE-400CWE-1333

IOC Correlations

No correlations recorded

This product uses data from the NVD API but is not endorsed or certified by the NVD.