ReDoS vulnerability in UAParser.js library



Published: 2018-05-02 | Updated: 2020-05-11
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-400
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
UAParser.js
Web applications / JS libraries

Vendor Faisal Salman

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Resource exhaustion

EUVDB-ID: #VU27691

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: N/A

CWE-ID: CWE-400 - Resource exhaustion

Exploit availability: No

Description

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

The vulnerability exists due to application does not properly control consumption of internal resources when parsing data with regular expressions. A remote attacker can pass specially crafted data to the application and perform a regular expression denial of service attack (ReDoS).

Mitigation

Install updates from vendor's website.

Vulnerable software versions

UAParser.js: 0.1 - 0.7.17

External links

http://github.com/faisalman/ua-parser-js/commit/2e57a9778f0735a1e5e73e723155e155848a88af
http://github.com/faisalman/ua-parser-js/issues/298
http://github.com/faisalman/ua-parser-js/pull/299
http://github.com/faisalman/ua-parser-js/pull/299/commits/8b54a7256e56decc3b02e8f6649a5d8108f20485


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