GHSA-pcqq-5962-hvcw
HIGHDenial of Service in uap-core when processing crafted User-Agent strings
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-ruby to >= v2.6.0
For more information
https://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p
Reported in uap-core by Ben Caller @bcaller
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | RubyGems | user_agent_parser | < 2.6.0 | 2.6.0 |
References
- https://github.com/ua-parser/uap-ruby/security/advisories/GHSA-pcqq-5962-hvcw · WEB
- https://github.com/ua-parser/uap-ruby/commit/2bb18268f4c5ba7d4ba0e21c296bf6437063da3a · WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/user_agent_parser/GHSA-pcqq-5962-hvcw.yml · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 10 Mar 2020)