Advisory

GHSA-pmg9-p9r2-6q87

Also known as: CVE-2017-16086

Summary

ReDoS via long UserAgent header in ua-parser

Details

Affected versions of ua-parser are vulnerable to regular expression denial of service when given a specially crafted User-Agent header.

Recommendation

No patch is currently available for this vulnerability.

The best mitigation is currently to avoid using this package, using a different, functionally equivalent package such as useragent.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2018-07-24 19:46 UTC
Modified
2023-11-08 03:59 UTC

Affected packages and fixes

ua-parser

npm · All systems

Affected

  • introduced 0, last affected 0.3.5 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences