Skip to main content
← All vulnerabilities
CVE-2020-7760GHSA-4GW3-8F77-F72C

Regular Expression Denial of Service (ReDoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.58.2
None on Exploit-DB, Metasploit or GitHub

Summary

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

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a codemirror

    fixed in 5.58.2

  • n/a org.apache.marmotta.webjars:codemirror

    fixed in 5.58.2

  • codemirrornpm

    fixed in 5.58.2

References 12

snyk.io

GitHub · codemirror/CodeMirror

debian.org

oracle.com