8.7high
GHSL-2020-289: Regular Expression Denial of Service (ReDoS) in insane
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.54% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-w455-mfq9-hf74
Description
insane is a whitelist-oriented HTML sanitizer. Versions 2.6.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
| Product or package | Versions | Reported by |
|---|---|---|
| bevacqua insane | up to 2.6.2 | CVE List, NVD |
| insane (npm) | up to 2.6.2 | GitHub Advisory Database |
All scores
| GitHub_M | 8.7high CVSS:4.0 | 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 |
| GitHub | 7.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | medium CVSS:4.0 | 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 |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
insane is a whitelist-oriented HTML sanitizer. Versions 2.6.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.
NVD (es)
insane es un sanitizador HTML orientado a listas blancas. Las versiones 2.6.2 y anteriores contienen una o más expresiones regulares que son vulnerables a la denegación de servicio de expresiones regulares (ReDoS). Al momento de la publicación, no se conocen parches disponibles.
References
| https://securitylab.github.com/advisories/GHSL-2020-289-redos-insane/ | exploit, third-party-advisory | |
| https://github.com/bevacqua/insane/issues/19 | issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26303 | advisory | |
| https://github.com/bevacqua/insane | package | |
| https://securitylab.github.com/advisories/GHSL-2020-289-redos-insane | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26303 changed 2024-10-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-w455-mfq9-hf74 changed 2024-11-13 | CC-BY-4.0 |
| NVD | CVE-2020-26303 changed 2026-06-17 | Public domain |