{"id":"GHSA-pcqq-5962-hvcw","aliases":[],"status":"published","title":"Denial of Service in uap-core when processing crafted User-Agent strings","description":"### 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 \u0026gt;= 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","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-03-10T18:02:49Z","modified":"2025-05-22T17:55:09Z","fixes":[{"ecosystem":"RubyGems","package":"user_agent_parser","fixed_in":["2.6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"user_agent_parser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.0"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"user_agent_parser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.0"}]}],"versions":["0.1.0","0.1.1","0.1.2","1.0.0","1.0.1","1.0.2","2.0.0","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.2.0","2.3.0","2.3.1","2.3.2","2.4.0","2.4.1","2.5.0","2.5.1","2.5.2","2.5.3"]}],"references":[{"url":"https://github.com/ua-parser/uap-ruby/security/advisories/GHSA-pcqq-5962-hvcw","tags":["web"]},{"url":"https://github.com/ua-parser/uap-ruby/commit/2bb18268f4c5ba7d4ba0e21c296bf6437063da3a","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/user_agent_parser/GHSA-pcqq-5962-hvcw.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-pcqq-5962-hvcw"}],"sources":{"ghsa":[{"id":"GHSA-pcqq-5962-hvcw","title":"Denial of Service in uap-core when processing crafted User-Agent strings","description":"### 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 \u0026gt;= 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","status":"published","published":"2020-03-10T18:02:49Z","modified":"2025-05-22T17:12:57Z","updated_at":"2026-11-02T14:38:43.998596Z"}],"osv":[{"id":"GHSA-pcqq-5962-hvcw","title":"Denial of Service in uap-core when processing crafted User-Agent strings","description":"### 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 \u0026gt;= 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","status":"published","published":"2020-03-10T18:02:49Z","modified":"2025-05-22T17:55:09.602571Z","updated_at":"2026-11-02T15:46:52.891208Z"}]}}
