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

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: snyk

Published: 2020-10-30T00:00:00

Updated: 2022-04-19T23:23:17

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


Link: CVE-2020-7760

JSON object: View

cve-icon NVD Information

Status : Analyzed

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

Modified: 2022-05-12T14:47:05.180


Link: CVE-2020-7760

JSON object: View

cve-icon Redhat Information

No data.

CWE