Description
uap-core before 0.7.3 is vulnerable to a denial of service attack when processing crafted User-Agent strings. 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 has been patched in uap-core 0.7.3.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| ua-parser | uap-core | < 0.7.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | uap-core | 1:0.8.0-1 | — |
| Debian 13 | uap-core | 1:0.8.0-1 | — |
| Debian 12 | uap-core | 1:0.8.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | uap-core | No fix yet | — |
| Ubuntu 26.04 LTS | uap-core | No fix yet | — |
| Ubuntu 25.10 | uap-core | No fix yet | — |
| Ubuntu 24.04 LTS | uap-core | No fix yet | — |
| Ubuntu 22.04 LTS | uap-core | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | uap-core | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | uap-core | < 0.7.3 | 0.7.3 | GHSA-cmcx-xhr8-3w9p |
| RubyGems | user_agent_parser | < 2.6.0 | 2.6.0 | GHSA-cmcx-xhr8-3w9p |