~ / search / GHSA-pmg9-p9r2-6q87

GHSA-pmg9-p9r2-6q87

ReDoS via long UserAgent header in ua-parser

Source: GitHub Advisory Database (reviewed) High CVE-2017-16086

Packages

EcosystemPackageAffectedFixed in
npm ua-parser <= 0.3.5 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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

External links from the advisory. They lead to third-party sites.