CVE-2020-7760
codemirror-js - security update
5.3
MEDIUM
CVSS 3.1
EPSS 0.34%
Description
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|/*.*?*/)*
How to fix CVE-2020-7760
To remediate CVE-2020-7760, upgrade the affected package to a fixed version below.
- —upgrade to 5.58.2+~cs0.23.101-1 or later
- —upgrade to 5.43.0-1+deb10u1 or later
- —upgrade to 5.58.2 or later
Is CVE-2020-7760 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 5.58.2+~cs0.23.101-1
- from 0, < 5.43.0-1+deb10u1
- from 0, < 5.58.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |