CVE-2017-16030
HIGH 7.5CVSS 3.0ReDoS via long UserAgent header in useragent
Useragent is used to parse useragent headers. It uses several regular expressions to accomplish this. An attacker could edit their own headers, creating an arbitrarily long useragent string, causing the event loop and server to block. This affects Useragent 2.1.12 and earlier.
- Published
- 4 Jun 2018
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-pjmx-9xr3-82qr
- Sources
- NVDJSONOSV GHSA-pjmx-9xr3-82qrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | useragent_project | useragentcpe:2.3:a:useragent_project:useragent:*:*:*:*:*:node.js:*:* |
<= 2.1.12 | |
| OSV | npm | useragent | < 2.1.13 | 2.1.13 |
References
- https://nodesecurity.io/advisories/312 · Exploit, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-16030 · ADVISORY
- https://github.com/advisories/GHSA-pjmx-9xr3-82qr · ADVISORY
- https://www.npmjs.com/advisories/312 · WEB
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 4 Jun 2018)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2018)