Security Resilience

CVE-2026-34230

DoS in Rack ≤ 2.2.23

Published
02 April 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 5.3
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS Score 0.0051 37th percentile
Risk Priority 45 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-34230 is a medium-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Rack. Its CVSS base score is 5.3 (Medium).

Operationally, ranked at the 37th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2026-34230 affects Rack, a modular Ruby web server interface, in versions prior to 2.2.23, 3.1.21, and 3.2.6. The vulnerability resides in the Rack::Utils.select_best_encoding method, which processes Accept-Encoding HTTP header values with quadratic time complexity when the header includes many wildcard (*) entries. This flaw impacts applications using the Rack::Deflater middleware, as the method is invoked to select the optimal response encoding during compression.

An unauthenticated remote attacker can exploit this vulnerability by sending a single HTTP request with a crafted Accept-Encoding header containing numerous wildcard entries. The quadratic processing leads to disproportionate CPU consumption on the server-side compression path, enabling a denial-of-service condition that degrades application availability. The issue carries a CVSS v3.1 base score of 5.3 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L) and is associated with CWE-400 (Uncontrolled Resource Consumption) and CWE-407 (Algorithmic Complexity).

The vulnerability has been patched in Rack versions 2.2.23, 3.1.21, and 3.2.6. Security practitioners should upgrade affected applications to these fixed releases. Additional details on the advisory and patch are available at https://github.com/rack/rack/security/advisories/GHSA-v569-hp3g-36wr.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

CVEs Like This One

CVE-2026-34827Same product: Rack Rack
CVE-2025-61770Same product: Rack Rack
CVE-2025-61772Same product: Rack Rack
CVE-2025-61771Same product: Rack Rack
CVE-2025-61919Same product: Rack Rack
CVE-2025-59830Same product: Rack Rack
CVE-2026-34826Same product: Rack Rack
CVE-2026-34829Same product: Rack Rack
CVE-2025-46727Same product: Rack Rack
CVE-2026-34763Same product: Rack Rack

Affected Assets

rack
rack
≤ 2.2.23 · 3.0.0 — 3.1.21 · 3.2.0 — 3.2.6

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

finds

Security testing can uncover performance issues stemming from algorithmic complexity.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

prevents

Secure coding practices can include guidelines to avoid or mitigate inefficient algorithms.

blocks

Capacity management ensures sufficient resources are available and monitors utilization, but it does not stop an attacker from sending requests that consume those resources once the system is operational.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.
  • No fine-grained STIG row for CWE-407, a class-level weakness, and none of its children carries one either.

References