7.5

CVE-2020-7760: codemirror Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighModified
AliasesUBUNTU-CVE-2020-7760DEBIAN-CVE-2020-7760DSA-4789-1
Published 30-10-2020Last modified 17-09-2024

Vulnerability summary

CVE-2020-7760 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in codemirror. EPSS estimates a 5.30% chance of exploitation in the next 30 days, higher than 92.4% of scored vulnerabilities. 7 public exploits are recorded.

Overall risk
41/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
5.30%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits7reference

Timeline

  1. 30-10-2020
    PublishedVulnerability first disclosed.
  2. 17-09-2024
    Last modifiedVulnerability information updated.

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 metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

5.30%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

0.00 pp

From 5.30% on 18-09-2026

18-09-202618-10-2026
EPSS score
5.30%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

7 found
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Show all 7 exploits
  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (snyk.io)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Oracle5 products
Codemirror1 product
Debian1 product
  • codemirror-js< 5.58.2+~cs0.23.101-1 | < 5.43.0-1+deb10u1
Npm1 product
  • codemirror< 5.58.2
Ubuntu1 product
  • codemirror-jsAll versions (No fix recorded)

5 vendors · 9 products

References

17 links
Show all 17 references