8.7high
GHSL-2020-291: Regular Expression Denial of Service (ReDoS) in CommonRegexJS
- Severity
- 8.7high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.48% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-pmvv-57rg-5g86
Description
CommonRegexJS is a CommonRegex port for JavaScript. All available versions 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 |
|---|---|---|
| talyssonoc CommonRegexJS | 0, before * | CVE List, NVD |
| commonregex (npm) | up to 0.3.1 | 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
CommonRegexJS is a CommonRegex port for JavaScript. All available versions 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)
CommonRegexJS es un puerto de CommonRegex para JavaScript. Todas las versiones disponibles 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 conocían parches disponibles.
References
| https://securitylab.github.com/advisories/GHSL-2020-291-redos-CommonRegexJS/ | third-party-advisory | |
| https://github.com/talyssonoc/CommonRegexJS/issues/4 | issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-26305 | advisory | |
| https://github.com/talyssonoc/CommonRegexJS | package | |
| https://securitylab.github.com/advisories/GHSL-2020-291-redos-CommonRegexJS | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-26305 changed 2024-10-28 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pmvv-57rg-5g86 changed 2024-11-13 | CC-BY-4.0 |
| NVD | CVE-2020-26305 changed 2026-06-17 | Public domain |