{"id":"GHSA-pcqq-5962-hvcw","aliases":["GHSA-pcqq-5962-hvcw"],"related":[],"kind":"vulnerability","state":"published","title":"Denial of Service in uap-core when processing crafted User-Agent strings","summary":"### Impact\nSome 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.\n\n### Patches\nPlease update `uap-ruby` to &gt;= v2.6.0\n\n### For more information\nhttps://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p\n\nReported in `uap-core` by Ben Caller @bcaller","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Impact\nSome 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.\n\n### Patches\nPlease update `uap-ruby` to &gt;= v2.6.0\n\n### For more information\nhttps://github.com/ua-parser/uap-core/security/advisories/GHSA-cmcx-xhr8-3w9p\n\nReported in `uap-core` by Ben Caller @bcaller","format":"markdown","source":"ghsa"}],"published":"2020-03-10T18:02:49.000Z","modified":"2025-05-22T17:55:09.602Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.6.0"}],"ecosystem":"RubyGems","package":"user_agent_parser","purl":"pkg:gem/user_agent_parser","source":"ghsa"}],"references":[{"url":"https://github.com/ua-parser/uap-ruby/security/advisories/GHSA-pcqq-5962-hvcw","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/ua-parser/uap-ruby/commit/2bb18268f4c5ba7d4ba0e21c296bf6437063da3a","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/user_agent_parser/GHSA-pcqq-5962-hvcw.yml","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pcqq-5962-hvcw","url":"https://github.com/advisories/GHSA-pcqq-5962-hvcw","licence":"CC-BY-4.0","modified":"2025-05-22T17:55:09.602Z"}],"updatedAt":"2026-11-25T22:56:41.430Z"}