#VU52384 Resource exhaustion in Codemirror - CVE-2020-7760


Vulnerability identifier: #VU52384

Vulnerability risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2020-7760

CWE-ID: CWE-400

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Codemirror

Vendor: Codemirror

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources when processing regular expression. A remote attacker can trigger resource exhaustion and perform a regular expression denial of service (ReDoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Codemirror: 5.0.0 - 5.58.1


External links
https://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb
https://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447
https://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937
https://www.debian.org/security/2020/dsa-4789


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability