VDB
CVE-2021-21317
CVE-2021-21317
PUBLISHED
uap-core in an open-source npm package which contains the core of BrowserScope's original user agent string parser. In uap-core before version 0.11.0, some regexes are vulnerable to regular expression denial of service (REDoS) due to overlapping capture groups. This allows remote attackers to overload a server by setting the User-Agent header in an HTTP(S) request to maliciously crafted long strings. This is fixed in version 0.11.0. Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.
EPSS 1.48% · 81.4th percentile
Risk Scores
EPSS Score
1.48%
81.4th percentile
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:25.10 | uap-core | 0, * |
| Ubuntu:22.04:LTS | uap-core | 1:0.13.0-1, 1:0.14.0-1, 0 |
| Ubuntu:20.04:LTS | uap-core | 0, 20190213-2 |
| Ubuntu:24.04:LTS | uap-core | 0, 1:0.18.0-1 |
Exploit Intelligence
Timeline
- Feb 2, 2021 CVE Published
- Apr 14, 2021 EPSS Score
- Jun 23, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Dec 27, 2021 EPSS Score
- Jan 6, 2022 EPSS Score
- Feb 4, 2022 EPSS Score
- Feb 28, 2022 EPSS Score
- Apr 1, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 4, 2022 EPSS Score
- Nov 6, 2022 EPSS Score
References
- https://ubuntu.com/security/CVE-2021-21317 third-party-advisory
- https://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4 third-party-advisory
- https://www.npmjs.com/package/uap-core third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2021-21317 third-party-advisory