Resource exhaustion in Codemirror
CVE-2020-7760
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|/*.*?*/)*
Vulnerability class: DoS (Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.053 (92.3th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.053 · newest: 0.053 · change: +0.000
Affected products
- Codemirror
- Oracle Application Express
- Oracle Enterprise Manager Express User Interface — versions 19c
- Oracle Essbase — versions 21.2
- Oracle Hyperion Data Relationship Management
- Oracle Spatial Studio
- Codemirror — versions unspecified
- Org.apache.marmotta.webjars:codemirror — versions unspecified
Weakness classification (CWE)
Public proof-of-concept exploits
References
- snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450 (Exploit, Third Party Advisory)
- github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb (Patch, Third Party Advisory)
- www.debian.org/security/2020/dsa-4789 (vendor-advisory, Third Party Advisory)
- www.oracle.com/security-alerts/cpuApr2021.html (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7760?
- CVE-2020-7760 is a medium-severity vulnerability in Codemirror, classified under Uncontrolled Resource Consumption. CVSS score: 5.3/10. Published 2020-10-30.
- How severe is CVE-2020-7760?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2020-7760 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.