{"schema_version":"1.9.0","id":"GHSA-pmg9-p9r2-6q87","published":"2018-07-24T19:46:37Z","modified":"2023-11-08T03:59:04.001707Z","aliases":["CVE-2017-16086"],"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).","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"}}],"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"}],"database_specific":{"cwe_ids":["CWE-400"],"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:49:36Z","nvd_published_at":null,"severity":"HIGH"}}