Skip to content
OpenAdvisories
High Public exploit CVE-2017-16086 EUVD-2018-0303GHSA-pmg9-p9r2-6q87

ReDoS via long UserAgent header in ua-parser

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

Description

ua-parser is a port of Browserscope's user agent parser. ua-parser is vulnerable to a ReDoS (Regular Expression Denial of Service) attack when given a specially crafted UserAgent header.

Affected products

VendorProductAffectedFixed
HackerOne ua-parser node module All versions —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm ua-parser <= 0.3.5 — GHSA-pmg9-p9r2-6q87

References