CVE-2020-26311
HIGH 8.7CVSS 4.0useragent Regular Expression Denial of Service 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.
- Published
- 26 Oct 2024
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1333
- Also known as
- GHSA-mgfv-m47x-4wqp
- Sources
- NVDJSONOSV GHSA-mgfv-m47x-4wqpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | useragent_project | useragentcpe:2.3:a:useragent_project:useragent:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | useragent | <= 2.3.0 |
References
- https://github.com/3rd-Eden/useragent/issues/167 · Issue Tracking, WEB
- https://securitylab.github.com/advisories/GHSL-2020-312-redos-useragent/ · Exploit, Third Party Advisory, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-26311 · ADVISORY
- https://github.com/3rd-Eden/useragent/commit/4c3ee79358bea72d88fe78ac98f4f861db40b89b · WEB
- https://github.com/3rd-Eden/useragent · PACKAGE
- https://github.com/3rd-Eden/useragent/blob/ffa906f923183c85fbb9e6c90f19345e2bd3c52a/lib/regexps.js#L5568 · WEB
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 26 Oct 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Oct 2024)