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

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: snyk

Published:

Updated: 2024-09-17T01:06:44.297Z

Reserved: 2020-01-21T00:00:00

Link: CVE-2020-7760

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-10-30T11:15:12.633

Modified: 2024-11-21T05:37:45.027

Link: CVE-2020-7760

cve-icon Redhat

Severity : Moderate

Publid Date: 2020-10-09T00:00:00Z

Links: CVE-2020-7760 - Bugzilla

cve-icon OpenCVE Enrichment

No data.