GHSA-pmg9-p9r2-6q87
Dashboard / Vulnerabilities / GHSA-pmg9-p9r2-6q87
Summary: ReDoS via long UserAgent header in ua-parser
Details: 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).
References: https://nvd.nist.gov/vuln/detail/CVE-2017-16086, https://github.com/advisories/GHSA-pmg9-p9r2-6q87, https://www.npmjs.com/advisories/316
Affected packages
Package
Name: ua-parser
Purl: pkg:npm/ua-parser
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -None
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
