CVE-2020-7760

Regular Expression Denial of Service (ReDoS)

Published Oct 30, 2020 CVSS 3.1 · 5.3 Medium EPSS 5.3% KEV · Not listed
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|/*.*?*/)*

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4789-1 codemirror-js security update
EUVD EUVD EUVD-2021-0941 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|/*.*?*/)*
Github GHSA Github GHSA GHSA-4gw3-8f77-f72c Regular expression denial of service in codemirror
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
snyk
Published
Updated
Sep 17, 2024, 1:06 AM
Reserved
Jan 21, 2020, 12:00 AM
Status
Modified
Published
Oct 30, 2020, 11:15 AM
Modified
Jun 17, 2026, 3:25 AM
Severity
Moderate
Public date
Oct 9, 2020, 12:00 AM