#VU27690 Resource exhaustion in UAParser.js - CVE-2017-16086

 

#VU27690 Resource exhaustion in UAParser.js - CVE-2017-16086

Published: May 11, 2020


Vulnerability identifier: #VU27690
Vulnerability risk: Medium
CVSSv4.0: 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:A/U:Green
CVE-ID: CVE-2017-16086
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
UAParser.js
Software vendor:
Faisal Salman

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 parsing regular expressions.A remote attacker can pass a very long UserAgent header to the application and trigger a Regular Expression Denial of Service (ReDoS).

Server-side applications that use "ua-parser-js" for parsing the browser user-agent string will be vulnerable if they call the "getOS" or "getResult" functions.


Remediation

Install updates from vendor's website.

External links