codemirror
Affected
- introduced
0, fixed5.58.2(semver)
Fixed versions
5.58.2
Fix
- Fixed version
5.58.2npm install [email protected]
Advisory
Also known as: CVE-2020-7760
Regular expression denial of service in codemirror
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|/*.*?*/)*
Medium Basis: The source's own band: MODERATE
0, fixed 5.58.2 (semver)5.58.2
5.58.2npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0