GHSA-pmg9-p9r2-6q87

    Dashboard / Vulnerabilities / GHSA-pmg9-p9r2-6q87

    GHSA-pmg9-p9r2-6q87

    Published: 24 Jul 2018Last Modified: 8 Nov 2023

    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](https://www.npmjs.com/package/useragent).

    Affected packages

    Package

    Name: ua-parser

    Purl: pkg:npm/ua-parser

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High