#VU52384 Resource exhaustion in Codemirror


Published: 2021-04-21

Vulnerability identifier: #VU52384

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

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
http://github.com/codemirror/CodeMirror/commit/55d0333907117c9231ffdf555ae8824705993bbb
http://snyk.io/vuln/SNYK-JAVA-ORGAPACHEMARMOTTAWEBJARS-1024450
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARS-1024449
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWER-1024445
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCODEMIRROR-1024448
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSBOWERGITHUBCOMPONENTS-1024446
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1024447
http://snyk.io/vuln/SNYK-JS-CODEMIRROR-1016937
http://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