CVE-2017-16030

nodejs-useragent: Regular expression Denial-of-Service via long UserAgent header

Published Jun 4, 2018 CVSS 3.0 · 7.5 High EPSS 1.1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-0302 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.
Github GHSA Github GHSA GHSA-pjmx-9xr3-82qr ReDoS via long UserAgent header in useragent
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Sep 17, 2024, 12:41 AM
Reserved
Oct 29, 2017, 12:00 AM
Status
Modified
Published
Jun 4, 2018, 7:29 PM
Modified
Jun 17, 2026, 1:08 AM
Severity
Moderate
Public date
Apr 15, 2017, 12:00 AM