benhmoore/knwl · Security
Knwl.js Regular Expression Denial of Service vulnerability
- GHSA ID
- GHSA-68qg-g787-3rp5
- CVE ID
- CVE-2020-26306
- Severity
- medium
- Published
- Updated
- CVSS v4
- 6.6 · 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/E:U/U:Green
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.
CWEs
- CWE-1333 · Inefficient Regular Expression Complexity
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-26306 ↗
- https://github.com/benhmoore/Knwl/issues/106 ↗
- https://securitylab.github.com/advisories/GHSL-2020-296-redos-Knwl.js ↗
- https://github.com/benhmoore/Knwl/commit/88aa966b1415a167c7c91b70053b72c7762c1cc0 ↗
- https://github.com/advisories/GHSA-68qg-g787-3rp5 ↗