7.5

CVE-2020-7760: Regular Expression Denial of Service (ReDoS)

Modified
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 4.93% chance of exploitation in the next 30 days, higher than 92.3% of scored vulnerabilities. 7 public exploits are recorded.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
4.93%
0%100%
Low · -0.37 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

4.93%

Chance of exploitation in the next 30 days

Percentile

92%

Versus all other CVEs

30-day change

Decrease -0.37 pp

From 5.30% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

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

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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.51.0-1ubuntu0.1~esm1

5 vendors · 9 products

References

18 links
Show all 18 references