SB2018071211 - ReDoS vulnerability in UAParser.js library



SB2018071211 - ReDoS vulnerability in UAParser.js library

Published: July 12, 2018 Updated: May 11, 2020

Security Bulletin ID SB2018071211
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) Resource exhaustion (CVE-ID: CVE-2017-16086)

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 update from vendor's website.