logo

CVE-2017-16086 ua-parser

Package

Manager: npm
Name: ua-parser
Vulnerable Version: >=0 <=0.3.5

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:U/RL:O/RC:C

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

EPSS: 0.57769 pctl0.98102

Details

ReDoS via long UserAgent header in ua-parser Affected versions of `ua-parser` are vulnerable to regular expression denial of service when given a specially crafted `User-Agent` header. ## Recommendation No patch is currently available for this vulnerability. The best mitigation is currently to avoid using this package, using a different, functionally equivalent package such as [useragent](https://www.npmjs.com/package/useragent).

Metadata

Created: 2018-07-24T19:46:37Z
Modified: 2021-01-08T18:20:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-pmg9-p9r2-6q87/GHSA-pmg9-p9r2-6q87.json
CWE IDs: ["CWE-400"]
Alternative ID: GHSA-pmg9-p9r2-6q87
Finding: F067
Auto approve: 1