{"id":"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.\n\n\n## Recommendation\n\nNo patch is currently available for this vulnerability.\n\nThe best mitigation is currently to avoid using this package, using a different, functionally equivalent package such as [useragent](https://www.npmjs.com/package/useragent).","aliases":["CVE-2017-16086"],"modified":"2023-11-08T03:59:04.001707Z","published":"2018-07-24T19:46:37Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-400"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:49:36Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-16086"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-pmg9-p9r2-6q87"},{"type":"WEB","url":"https://www.npmjs.com/advisories/316"}],"affected":[{"package":{"name":"ua-parser","ecosystem":"npm","purl":"pkg:npm/ua-parser"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.3.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-pmg9-p9r2-6q87/GHSA-pmg9-p9r2-6q87.json"}}],"schema_version":"1.9.0"}