Vulnerability 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|/*.*?*/)*
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Codemirror | Codemirror | < 5.58.2 |
| Oracle | Application Express | < 20.2 |
| Oracle | Enterprise Manager Express User Interface | 19c |
| Oracle | Essbase | 21.2 |
| Oracle | Hyperion Data Relationship Management | < 11.2.9.0 |
| Oracle | Spatial Studio | < 19.1.0 |
Related Weaknesses (CWE)
References
- https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae88247PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937ExploitThird Party Advisory
- https://www.debian.org/security/2020/dsa-4789Third Party Advisory
- https://www.oracle.com//security-alerts/cpujul2021.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuApr2021.htmlPatchThird Party Advisory
- https://www.oracle.com/security-alerts/cpuapr2022.htmlPatchThird Party Advisory
- https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae88247PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449ExploitThird Party Advisory
FAQ
What is CVE-2020-7760?
CVE-2020-7760 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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/CodeM...
How severe is CVE-2020-7760?
CVE-2020-7760 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-7760?
Check the references section above for vendor advisories and patch information. Affected products include: Codemirror Codemirror, Oracle Application Express, Oracle Enterprise Manager Express User Interface, Oracle Essbase, Oracle Hyperion Data Relationship Management.