{"id":"UBUNTU-CVE-2020-7760","details":"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|/*.*?*/)*","modified":"2026-11-18T07:15:12.262588855Z","published":"2020-10-30T11:15:00Z","related":["USN-9135-1"],"upstream":["CVE-2020-7760"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2020-7760"},{"type":"REPORT","url":"https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447"},{"type":"REPORT","url":"https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2020-7760"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-9135-1"}],"affected":[{"package":{"name":"codemirror-js","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/codemirror-js?arch=source&distro=esm-apps%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.51.0-1ubuntu0.1~esm1"}]}],"versions":["5.43.0-1","5.49.2-1","5.50.2-1","5.51.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"libjs-codemirror","binary_version":"5.51.0-1ubuntu0.1~esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2020/UBUNTU-CVE-2020-7760.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}