GitHub Advisoryadvisory · npm
GHSA-68qg-g787-3rp5 Knwl.js Regular Expression Denial of Service vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2020-26306
- Ecosystem
- npm
- Packages
- knwl.js
- Severity
- Moderate
- CVSS 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/E:U/U:Green
- Weaknesses
- CWE-1333
- Reviewed
- 2024-10-28
Affected packages
• npm knwl.js: <= 1.0.2 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2020-26306 Knwl.js is a Javascript library that parses through text for dates, times, phone numbers, emails, places, and more. vulnerability
Weakness · CWE (1)
- CWE-1333 Inefficient Regular Expression Complexity weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-26306 advisory
- https://github.com/benhmoore/Knwl/issues/106 web
- https://github.com/benhmoore/Knwl/commit/88aa966b1415a167c7c91b70053b72c7762c1cc0 web
- https://github.com/benhmoore/Knwl package
- https://securitylab.github.com/advisories/GHSL-2020-296-redos-Knwl.js advisory