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.
Problem types
CWE-1333 Inefficient Regular Expression Complexity
Product status
Any version
References
securitylab.github.com/...ories/GHSL-2020-296-redos-Knwl.js/
github.com/benhmoore/Knwl/issues/106