WaratekVRT Sign in

CVE-2020-7760 codemirror

Affected softwarecodemirror
Severity7.5 High CVSS 3.1 3 scores
WeaknessUncontrolled resource consumption (CWE-400)
Published30 Oct 2020
Updated17 Jun 2026

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|/*.*?*/)*

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 6 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 5.3% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: codemirror/CodeMirror 55d0333.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb : a commit: the change itself

CVSS

7.5 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H 3 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 7.5 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H NVD Primary published
CVSS 3.1 5.3 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L report@snyk.io Secondary
CVSS 2.0 5.0 none AV:N/AC:L/Au:N/C:N/I:N/A:P NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update January 2025 ↗ CPU 2025-Q1 Oracle Analytics / Content Storage Service (CodeMirror) (7.0.0.0.0)
Oracle Critical Patch Update January 2024 ↗ CPU 2024-Q1 Oracle Utilities Applications / User Interface (CodeMirror) (4.3.0.3.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0)
Oracle Critical Patch Update October 2023 ↗ CPU 2023-Q4 Oracle Communications / Diameter Custom Application (CodeMirror) (9.0.0.0)
Oracle Critical Patch Update July 2023 ↗ CPU 2023-Q3 Oracle Siebel CRM / UI Framework (CodeMirror) (22.12 and prior)
Oracle Critical Patch Update April 2022 ↗ CPU 2022-Q2 Oracle Hyperion / Web Client - Unicode (CodeMirror) (Prior to 11.2.9.0)
Oracle Critical Patch Update July 2021 ↗ CPU 2021-Q3 Oracle Database Server / Enterprise Manager Express User Interface (CodeMirror) (19c)
Oracle Essbase / Infrastructure (CodeMirror) (21.2)
Oracle Critical Patch Update April 2021 ↗ CPU 2021-Q2 Oracle Database Server / Oracle Application Express (CodeMirror) (Prior to 20.2)
Oracle Spatial Studio / Install (CodeMirror) (Prior to 19.1.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Analytics Content Storage Service (CodeMirror) 7.0.0.0.0 7.0.0.0.0
Oracle Communications Diameter Custom Application (CodeMirror) 9.0.0.0 9.0.0.0
Oracle Database Server Enterprise Manager Express User Interface (CodeMirror) 19c 19
Oracle Database Server Oracle Application Express (CodeMirror) Prior to 20.2
Oracle Essbase Infrastructure (CodeMirror) 21.2 21.2
Oracle Hyperion Web Client - Unicode (CodeMirror) Prior to 11.2.9.0
Oracle Siebel CRM UI Framework (CodeMirror) 22.12 and prior
Oracle Spatial Studio Install (CodeMirror) Prior to 19.1.0
Oracle Utilities Applications User Interface (CodeMirror) 4.3.0.3.0-4.3.0.6.0, 4.4.0.0.0, 4.4.0.2.0, 4.4.0.3.0 4.4.0.0.0 · 4.4.0.2.0 · 4.4.0.3.0

Products and versions

6 products, 6 version entries
SourceVendorProductSchemeAffected versions
nvd codemirror codemirror generic < 5.58.2
nvd oracle application express generic < 20.2
nvd oracle enterprise manager express user interface generic 19c
nvd oracle essbase generic 21.2
nvd oracle hyperion data relationship management generic < 11.2.9.0
nvd oracle spatial studio generic < 19.1.0

References

URLTags
https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb commit
https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450 Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449 Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445 Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448 Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446 Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447 Exploit, Third Party Advisory
https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937 Exploit, Third Party Advisory
https://www.debian.org/security/2020/dsa-4789 Third Party Advisory
https://www.oracle.com//security-alerts/cpujul2021.html Patch, Third Party Advisory

Timeline

Published2020-10-30By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.