{ "schema_version": "1.4.0", "id": "GHSA-pmg9-p9r2-6q87", "modified": "2021-01-08T18:20:33Z", "published": "2018-07-24T19:46:37Z", "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).", "severity": [], "affected": [ { "package": { "ecosystem": "npm", "name": "ua-parser" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "0.3.5" } ] } ] } ], "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" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:49:36Z", "nvd_published_at": null } }