CVE-2020-26311
Useragent Project Useragent vulnerability
Useragent is a user agent parser for Node.js. All versions as of time of publication contain one or more regular expressions that are vulnerable to Regular Expression Denial of Service (ReDoS). As of time of publication, no patches are available.
Affected products
Useragent. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Useragent Project Useragent runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- securitylab.github.com/advisories/GHSL-2020-312-redos-useragent/ · Exploit
- github.com/3rd-Eden/useragent/issues/167
- nvd.nist.gov/vuln/detail/CVE-2020-26311
- securitylab.github.com/advisories/GHSL-2020-312-redos-useragent
- github.com/3rd-Eden/useragent/commit/4c3ee79358bea72d88fe78ac98f4f861db40b89b
- github.com/3rd-Eden/useragent/blob/ffa906f923183c85fbb9e6c90f19345e2bd3c52a/lib/regexps.js
- github.com/advisories/GHSA-mgfv-m47x-4wqp
- nvd.nist.gov/vuln/detail/CVE-2020-26311
- cve.org/CVERecord?id=CVE-2020-26311
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.