Affected versions of ua-parser are vulnerable to regular expression denial of service when given a specially crafted User-Agent header.
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.
{
"cwe_ids": [
"CWE-400"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:49:36Z",
"nvd_published_at": null,
"severity": "HIGH"
}