GHSA-78cj-fxph-m83p

Suggest an improvement
Source
https://github.com/advisories/GHSA-78cj-fxph-m83p
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-78cj-fxph-m83p/GHSA-78cj-fxph-m83p.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-78cj-fxph-m83p
Aliases
Published
2021-05-06T16:11:13Z
Modified
2023-11-08T04:05:24.127561Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Regular Expression Denial of Service (ReDoS) in ua-parser-js
Details

ua-parser-js >= 0.7.14, fixed in 0.7.24, uses a regular expression which is vulnerable to denial of service. If an attacker sends a malicious User-Agent header, ua-parser-js will get stuck processing it for an extended period of time.

Database specific
{
    "nvd_published_at": "2021-03-17T13:15:00Z",
    "github_reviewed_at": "2021-03-22T20:23:57Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-400"
    ]
}
References

Affected packages

npm / ua-parser-js

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.7.14
Fixed
0.7.24