Resource exhaustion in Codemirror
CVE-2020-7760
- CVSS v3
- 5.3 Medium
- Public exploits
- None known
- EPSS
- 0.053 · 92.7th percentile
- Published
- 2020-10-30
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.7th percentile (last changed ); unchanged over 30 days. About EPSS.
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 exploits and proof-of-concept code
Also mentioned in 4 other repositories (deepakdba/cve_checklist, engn33r/awesome-redos-security, radtek/cve_checklist, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
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)
- DSA-4789 (vendor-advisory, Third Party Advisory)
- www.oracle.com/security-alerts/cpuApr2021.html (Patch, Third Party Advisory)