{"cve":"CVE-2026-34230","nvd":{"published":"2026-04-02T17:16:23.570","modified":"2026-07-24T21:10:00.143","status":"Analyzed","description":"Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.select_best_encoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard (*) entries. Because this method is used by Rack::Deflater to choose a response encoding, an unauthenticated attacker can send a single request with a crafted Accept-Encoding header and cause disproportionate CPU consumption on the compression middleware path. This results in a denial of service condition for applications using Rack::Deflater. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-400","CWE-407"],"references":["https://github.com/rack/rack/security/advisories/GHSA-v569-hp3g-36wr"],"products":["rack:rack"],"source":"nvd","synced_at":"2026-10-19T22:28:18.033120106+00:00"},"epss":{"cve":"CVE-2026-34230","score":0.00447,"percentile":0.38873,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-v569-hp3g-36wr","url":"https://osv.dev/vulnerability/GHSA-v569-hp3g-36wr","summary":"Rack has quadratic complexity in Rack::Utils.select_best_encoding via wildcard Accept-Encoding header","modified":"2026-09-10T03:51:03.178734762Z","packages":[{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":["<2.2.23"],"fixed":["2.2.23"]},{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.0.0.beta1 <3.1.21"],"fixed":["3.1.21"]},{"ecosystem":"RubyGems","name":"rack","purl":"pkg:gem/rack","ranges":[">=3.2.0 <3.2.6"],"fixed":["3.2.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}