{"schemaVersion":3,"id":"CVE-2020-7760","aliases":["UBUNTU-CVE-2020-7760","DEBIAN-CVE-2020-7760","DSA-4789-1","GHSA-4gw3-8f77-f72c"],"status":"published","duplicateOf":null,"title":null,"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|/*.*?*/)*","dates":{"published":"2020-10-30T11:10:32.942Z","modified":"2024-09-17T01:06:44.297Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","exploitability":10,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05304,"percentile":0.92505,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.05304},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05304,"percentile":0.92505}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05304,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05304,"percentile":0.92505}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_080101623222F285","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_556F2A18D25A5FCB","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_C58C474D98C994DD","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_1ACD5E9B349B635D","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_0FABD23AECBCC353","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_8FDDF5C3A7367747","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_9581CB28DBDA53F7","name":"Exploit Reference (snyk.io)","source":"reference","url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":7,"weaknesses":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption","description":"The product does not properly control the allocation and maintenance of a limited resource.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/400.html"}],"affected":[{"vendor":"codemirror","product":"codemirror","name":"codemirror","label":"codemirror","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.58.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.58.2","eol":null,"hubHref":"/vendor/codemirror/codemirror"},{"vendor":"debian","product":"codemirror-js","name":"codemirror-js","label":"codemirror-js","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/codemirror-js","purlType":"deb","versions":[{"text":"< 5.58.2+~cs0.23.101-1","noFixRecorded":false,"fixedIn":null},{"text":"< 5.43.0-1+deb10u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.58.2+~cs0.23.101-1 | < 5.43.0-1+deb10u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"codemirror-js","name":"codemirror-js","label":"codemirror-js","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/codemirror-js","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"Npm","product":"codemirror","name":"codemirror","label":"codemirror","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/codemirror","purlType":"npm","versions":[{"text":"< 5.58.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.58.2","eol":null,"hubHref":null},{"vendor":"oracle","product":"application_express","name":"application express","label":"application_express","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 20.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 20.2","eol":null,"hubHref":"/vendor/oracle/application_express"},{"vendor":"oracle","product":"enterprise_manager_express_user_interface","name":"enterprise manager express user interface","label":"enterprise_manager_express_user_interface","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"19c","noFixRecorded":false,"fixedIn":null}],"versionsText":"19c","eol":null,"hubHref":"/vendor/oracle/enterprise_manager_express_user_interface"},{"vendor":"oracle","product":"essbase","name":"essbase","label":"essbase","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"21.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"21.2","eol":null,"hubHref":"/vendor/oracle/essbase"},{"vendor":"oracle","product":"hyperion_data_relationship_management","name":"hyperion data relationship management","label":"hyperion_data_relationship_management","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 11.2.9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 11.2.9.0","eol":null,"hubHref":"/vendor/oracle/hyperion_data_relationship_management"},{"vendor":"oracle","product":"spatial_studio","name":"spatial studio","label":"spatial_studio","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 19.1.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 19.1.0","eol":null,"hubHref":"/vendor/oracle/spatial_studio"}],"affectedCount":9,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937","label":"snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445","label":"snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446","label":"snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447","label":"snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448","label":"snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449","label":"snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450","label":"snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450","hostname":"snyk.io","tags":["X Refsource MISC","REPORT","WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb","label":"github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","Patch","Third Party Advisory"]},{"url":"https://www.debian.org/security/2020/dsa-4789","label":"www.debian.org/security/2020/dsa-4789","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","WEB","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","label":"www.oracle.com/security-alerts/cpuApr2021.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","label":"www.oracle.com//security-alerts/cpujul2021.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","label":"www.oracle.com/security-alerts/cpuapr2022.html","hostname":"www.oracle.com","tags":["X Refsource MISC","WEB","Patch","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-7760","label":"ubuntu.com/security/CVE-2020-7760","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7760","label":"www.cve.org/CVERecord?id=CVE-2020-7760","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-7760","label":"security-tracker.debian.org/tracker/CVE-2020-7760","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7760","label":"nvd.nist.gov/vuln/detail/CVE-2020-7760","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://www.npmjs.com/package/codemirror","label":"www.npmjs.com/package/codemirror","hostname":"www.npmjs.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-10-30T11:10:32.942Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T01:06:44.297Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T19:56:42.411Z","stale":false,"partial":false}}