CVE-2020-7760
Fixed in a distro release EPSS 5%CVSS 5.3
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|/*.*?*/)*
Products: codemirror, oracle application_express, oracle enterprise_manager_express_user_interface, oracle essbase, oracle hyperion_data_relationship_management, oracle spatial_studio
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| npm | codemirror | 5.58.2 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Debian 10 | codemirror-js | 5.43.0-1+deb10u1 |
| Debian 12 | codemirror-js | 5.58.2+~cs0.23.101-1 |
| Debian 13 | codemirror-js | 5.58.2+~cs0.23.101-1 |
| Debian 14 | codemirror-js | 5.58.2+~cs0.23.101-1 |
| Ubuntu 16.04 LTS | codemirror-js | no fix |
| Ubuntu 18.04 LTS | codemirror-js | no fix |
| Ubuntu 20.04 LTS | codemirror-js | no fix |