VDB

CVE-2020-7760

CVE-2020-7760 PUBLISHED CVSS 5.3 MEDIUM

Regular Expression Denial of Service (ReDoS)

Reported by snyk · Published October 30, 2020

codemirror is fixed in 5.58.2 (npm)

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
codemirrornpm5.58.2
application_expressoracle20.2
org.apache.marmotta.webjars:codemirrorn/a5.58.2
spatial_studiooracle19.1.0
codemirrorn/a5.58.2
hyperion_data_relationship_managementoracle11.2.9.0
codemirrorcodemirror5.58.2

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P/RL:O/RC:C

Affected products

VendorProductVersions
n/acodemirrorunspecified
n/aorg.apache.marmotta.webjars:codemirrorunspecified
n/aorg.apache.marmotta.webjars:codemirror*
n/acodemirror*
npmcodemirror0

Timeline

  • Oct 30, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Feb 8, 2024 PoC Published
  • Mar 9, 2026 Security Advisory (2 in total, the first dated here)
  • Jun 17, 2026 CVE Updated
  • Aug 29, 2026 Coalition ESS Score
  • Oct 31, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-7760
vulnetix vdb fixes CVE-2020-7760

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-7760/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • DSA-4789 vendor-advisoryx_refsource_DEBIAN
  • x_refsource_MISC
  • x_refsource_MISC
  • x_refsource_MISC
  • https://nvd.nist.gov/vuln/detail/CVE-2020-7760 advisory
Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›