ReDoS via long UserAgent header in useragent
High severity
GitHub Reviewed
Published
Jul 24, 2018
to the GitHub Advisory Database
•
Updated Sep 6, 2023
Description
Published to the GitHub Advisory Database
Jul 24, 2018
Reviewed
Jun 16, 2020
Last updated
Sep 6, 2023
Affected versions of
useragent
are vulnerable to regular expression denial of service when an arbitrarily longUser-Agent
header is parsed.Proof of Concept
Recommendation
Update to version 2.1.13 or later.
References