CVE-2020-7760
Severity CVSS v4.0:
Pending analysis
Type:
CWE-400
Uncontrolled Resource Consumption ('Resource Exhaustion')
Publication date:
30/10/2020
Last modified:
12/05/2022
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|/*.*?*/)*
Impact
Base Score 3.x
7.50
Severity 3.x
HIGH
Base Score 2.0
5.00
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:codemirror:codemirror:*:*:*:*:*:*:*:* | 5.58.2 (excluding) | |
| cpe:2.3:a:oracle:application_express:*:*:*:*:*:*:*:* | 20.2 (excluding) | |
| cpe:2.3:a:oracle:enterprise_manager_express_user_interface:19c:*:*:*:*:*:*:* | ||
| cpe:2.3:a:oracle:essbase:21.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:oracle:hyperion_data_relationship_management:*:*:*:*:*:*:*:* | 11.2.9.0 (excluding) | |
| cpe:2.3:a:oracle:spatial_studio:*:*:*:*:*:*:*:* | 19.1.0 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447
- https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937
- https://www.debian.org/security/2020/dsa-4789
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuApr2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html



