published 30 Oct 2020 · updated 17 Sep 2024
Regular Expression Denial of Service (ReDoS)
5.3MediumCVSS 5.3EPSS 5%
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 5%. Fixed in 5.58.2.
This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2. The vulnerable regular expression is located in https://github.com/codemirror/CodeMirror/blob/cdb228ac736369c685865b122b736cd0d397836c/mode/javascript/javascript.jsL129. The ReDOS vulnerability of the regex is mainly due to the sub-pattern (s|/*.*?*/)*
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| <5.58.2 | 5.58.2 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket