GHSA-pcqq-5962-hvcw
high
Denial of Service in uap-core when processing crafted User-Agent strings
- Severity
- high rating by GitHub
- Published
- Last changed
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-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
| Product or package | Versions | Reported by |
|---|---|---|
| user_agent_parser (RubyGems) | before 2.6.0 | GitHub Advisory Database |
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-pcqq-5962-hvcw changed 2025-05-22 | CC-BY-4.0 |