CVE-2017-16030Useragent Project Useragent
High 7.5 No auth needed
Follow: this CVE · Useragent Project · Useragent Project Useragent We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.0
- 7.5
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 67
- Auth required
- No
- Published
- Jun 4, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Useragent.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | useragent |
< 2.1.13 |
2.1.13 |
npm install useragent@2.1.13 |
Per OSV / GitHub Advisories (GHSA-pjmx-9xr3-82qr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| useragent_project | useragent | ≤ 2.1.12 |
Official sources
References
Links published by the sources. Open them with care.
- nodesecurity.io Exploit Third Party Advisory