Regular Expression Denial of Service (ReDoS) in uap-core



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-5243
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
uap-core
Web applications / Modules and components for CMS

Vendor ua-parser

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU25628

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-5243

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform a regular expression denial of service (REDoS).

The vulnerability exists due to overlapping capture groups when processing crafted User-Agent strings. A remote attacker can overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings, trigger resource exhaustion and perform a regular expression denial of service (REDoS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

uap-core: 0.1.0 - 0.7.2

CPE2.3 External links

https://github.com/ua-parser/uap-core/commit/0afd61ed85396a3b5316f18bfd1edfaadf8e88e1
https://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p


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###