Security mailing lists by PureSourceCode

CVE-2017-16030

HIGH 7.5CVSS 3.0

ReDoS 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD useragent_project useragent
cpe:2.3:a:useragent_project:useragent:*:*:*:*:*:node.js:*:*
<= 2.1.12
OSV npm useragent < 2.1.13 2.1.13

References

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.