{"id":"CVE-2020-7760","aliases":["DEBIAN-CVE-2020-7760","DSA-4789-1","EUVD-2021-0941","GHSA-4gw3-8f77-f72c","UBUNTU-CVE-2020-7760"],"status":"published","title":"Regular Expression Denial of Service (ReDoS)","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|/*.*?*/)*","severity":{"version":"3.1","score":5.3,"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.05304,"percentile":0.92644,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-400"],"published":"2020-10-30T11:10:32Z","modified":"2026-10-26T12:02:45Z","fixes":[{"ecosystem":"npm","package":"codemirror","fixed_in":["5.58.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"codemirror-js","fixed_in":["5.58.2+~cs0.23.101-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"codemirror-js","fixed_in":["5.58.2+~cs0.23.101-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"codemirror-js","fixed_in":["5.58.2+~cs0.23.101-1"],"sources":["osv"]},{"ecosystem":"Debian:10","package":"codemirror-js","fixed_in":["5.43.0-1+deb10u1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"codemirror","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.58.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.58.2+~cs0.23.101-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.58.2+~cs0.23.101-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.58.2+~cs0.23.101-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.43.0-1+deb10u1"}]}],"versions":["5.43.0-1"]},{"source":"osv","ecosystem":"npm","package":"codemirror","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.58.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.4.0-1","5.19.0-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"codemirror-js","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.43.0-1","5.49.2-1","5.50.2-1","5.51.0-1"]}],"products":[{"vendor":"codemirror","product":"codemirror"},{"vendor":"oracle","product":"application_express"},{"vendor":"oracle","product":"enterprise_manager_express_user_interface"},{"vendor":"oracle","product":"essbase"},{"vendor":"oracle","product":"hyperion_data_relationship_management"},{"vendor":"oracle","product":"spatial_studio"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web","report"]},{"url":"https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://www.debian.org/security/2020/dsa-4789","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7760","tags":["advisory"]},{"url":"https://www.npmjs.com/package/codemirror","tags":["web"]},{"url":"https://github.com/advisories/GHSA-4gw3-8f77-f72c"},{"url":"https://security-tracker.debian.org/tracker/CVE-2020-7760","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2020-7760","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-7760","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2020-7760","title":"Regular Expression Denial of Service (ReDoS)","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|/*.*?*/)*","status":"published","published":"2020-10-30T11:10:32.942Z","modified":"2024-09-17T01:06:44.297Z","cvss":[{"version":"3.1","score":5.3,"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","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.787905Z"}],"euvd":[{"id":"EUVD-2021-0941","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|/*.*?*/)*","status":"published","published":"2020-10-30T11:10:32Z","modified":"2024-09-17T01:06:44Z","cvss":[{"version":"3.1","score":5.3,"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","level":"medium"}],"updated_at":"2026-11-03T00:28:52.69419Z"}],"ghsa":[{"id":"GHSA-4gw3-8f77-f72c","title":"Regular expression denial of service in codemirror","description":"This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2.\n 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|/*.*?*/)*","status":"published","published":"2021-05-10T18:46:27Z","modified":"2023-02-01T05:05:26Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:36:34.260786Z"}],"nvd":[{"id":"CVE-2020-7760","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|/*.*?*/)*","status":"published","published":"2020-10-30T11:15:12.633Z","modified":"2026-06-17T03:25:23.8Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:06:21.80969Z"}],"osv":[{"id":"CVE-2020-7760","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|/*.*?*/)*","status":"published","published":"2020-10-30T11:15:12.633Z","modified":"2026-10-20T10:54:24.688634186Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:17.34531Z"},{"id":"DEBIAN-CVE-2020-7760","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|/*.*?*/)*","status":"published","published":"2020-10-30T11:15:12.633Z","modified":"2026-10-26T12:02:45.719261421Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.311861Z"},{"id":"GHSA-4gw3-8f77-f72c","title":"Regular expression denial of service in codemirror","description":"This affects the package codemirror before 5.58.2; the package org.apache.marmotta.webjars:codemirror before 5.58.2.\n 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|/*.*?*/)*","status":"published","published":"2021-05-10T18:46:27Z","modified":"2025-01-14T08:57:03.27886Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T15:46:37.148947Z"},{"id":"UBUNTU-CVE-2020-7760","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|/*.*?*/)*","status":"published","published":"2020-10-30T11:15:00Z","modified":"2025-10-24T04:48:19Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:25.728622Z"},{"id":"DSA-4789-1","title":"codemirror-js - security update","status":"published","published":"2020-11-12T00:00:00Z","modified":"2026-03-09T02:09:13.139945Z","updated_at":"2026-11-02T15:46:17.19998Z"}]}}
