Vulnerability · Published Oct 26, 2024 · Assigned by GitHub_M

CVE-2020-26306GHSL-2020-296: Regular Expression Denial of Service (ReDoS) in Knwl.js

High 8.7

In plain English

A high-severity regular-expression denial of service in Knwl from benhmoore. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities).

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.5%top 60.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

Knwl.js is a Javascript library that parses through text for dates, times, phone numbers, emails, places, and more. Versions 1.0.2 and prior contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no known patches are available.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmknwl.jsno fix listedGHSA-68qg-g787-3rp5

Affected products (as reported)

VendorProductVersions
benhmoore Knwl 0 – through 1.0.2

Weakness: CWE-1333 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/U:Green

References