useragent
Releases39
Frequency2 months 1 week
Last Release
Fastest, most accurate & effecient user agent string parser, uses Browserscope's research for parsing
CVE History
| CVE | Affected | Published | CVSS v3 | CVSS v2 |
|---|---|---|---|---|
| all versions, <= 2.3.0 | 7.5 HIGH | — | ||
Useragent is a user agent parser for Node.js. All versions as of time of publication contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no patches are available. | ||||
| <= 2.1.12, < 2.1.13 | — | 5 MEDIUM | ||
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. | ||||