CVE-2021-21317
HIGH7.5EPSS 1.5%Denial of Service in uap-core
Published: 2/2/2021Modified: 3/13/2026
Description
## Impact 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. ## Patches Please update uap-core to >= v0.11.0 Downstream packages such as uap-python, uap-ruby etc which depend upon uap-core follow different version schemes.
Affected packages (1)
- npm/uap-corefrom 0, < 0.11.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-21317
- PATCHhttps://github.com/ua-parser/uap-core
- WEBhttps://github.com/ua-parser/uap-core/commit/dc9925d458214cfe87b93e35346980612f6ae96c
- WEBhttps://github.com/ua-parser/uap-core/security/advisories/GHSA-p4pj-mg4r-x6v4
- WEBhttps://www.npmjs.com/package/uap-core