Regular expression DoS in url-regex



Published: 2020-08-20
Risk Medium
Patch available NO
Number of vulnerabilities 1
CVE-ID CVE-2020-7661
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
url-regex
Web applications / Modules and components for CMS

Vendor Kiwys

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU45806

Risk: Medium

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

CVE-ID: CVE-2020-7661

CWE-ID: CWE-400 - Uncontrolled Resource Consumption ('Resource Exhaustion')

Exploit availability: No

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 while processing regular expressions. A remote attacker can pass a very long string in String.test and perform a denial of service (DoS) attack.

Mitigation

Cybersecurity Help is currently unaware of any official solution to address this vulnerability.

Vulnerable software versions

url-regex: 1.0.2 - 5.0.0


CPE2.3 External links

http://github.com/kevva/url-regex/issues/70
http://snyk.io/vuln/SNYK-JS-URLREGEX-569472
http://www.npmjs.com/advisories/1550

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.



###SIDEBAR###