Skip to content
OpenAdvisories
High CVE-2017-16030 EUVD-2018-0302GHSA-pjmx-9xr3-82qr

ReDoS via long UserAgent header in useragent

Published Jun 4, 2018 · Updated Sep 17, 2024 · Assigned by hackerone

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.

Affected products

VendorProductAffectedFixed
HackerOne useragent node module <=2.1.12 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm useragent < 2.1.13 2.1.13 GHSA-pjmx-9xr3-82qr

References