cve.bz

CVE-2025-61771 rack rack: Uncontrolled Resource Consumption

7.5 highEPSS 0.6%Fix available

High (7.5) in rack rack. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.2.19, 3.1.17, 3.2.2.

On this page
Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, ``Rack::Multipart::Parser` stores non-file form fields (parts without a `filename`) entirely in memory as Ruby `String` objects. A single large text field in a multipart/form-data request (hundreds of megabytes or more) can consume equivalent process memory, potentially leading to out-of-memory (OOM) conditions and denial of service (DoS). Attackers can send large non-file fields to trigger excessive memory usage. Impact scales with request size and concurrency, potentially leading to worker crashes or severe garbage-collection overhead. All Rack applications processing multipart form submissions are affected. Versions 2.2.19, 3.1.17, and 3.2.2 enforce a reasonable size cap for non-file fields (e.g., 2 MiB). Workarounds include restricting maximum request body size at the web-server or proxy layer (e.g., Nginx `client_max_body_size`) and validating and rejecting unusually large form fields at the application level.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 49th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-400 Uncontrolled Resource Consumption
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-61771 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-61771?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-61771?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-61771 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rack:rackbefore 2.2.19
rack:rackfrom 3.1.0 before 3.1.17
rack:rackfrom 3.2.0 before 3.2.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w9pc-fmgc-vxvwRubyGemsrack<2.2.192.2.19
GHSA-w9pc-fmgc-vxvwRubyGemsrack>=3.1 <3.1.173.1.17
GHSA-w9pc-fmgc-vxvwRubyGemsrack>=3.2 <3.2.23.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby-rack2.1.4-3+deb11u4DLA-4357-1
Debian12ruby-rack2.2.20-0+deb12u1DEBIAN-CVE-2025-61771 DSA-6048-1
Debian13ruby-rack3.1.18-1~deb13u1DEBIAN-CVE-2025-61771 DSA-6048-1
Debian14ruby-rack3.1.18-1DEBIAN-CVE-2025-61771
Ubuntu22.04:LTSruby-rack2.1.4-5ubuntu1.2UBUNTU-CVE-2025-61771
Ubuntu24.04:LTSruby-rack2.2.7-1ubuntu0.5UBUNTU-CVE-2025-61771
Ubuntu25.10ruby-rack3.1.16-0.1ubuntu0.1UBUNTU-CVE-2025-61771
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moreruby-rackno fix listedUBUNTU-CVE-2025-61771
Red Hatenterprise_linux:7::serverpcs, pcs-snmp, pcs-debuginfo0:0.9.169-3.el7_9.5RHSA-2025:21696
Red Hatenterprise_linux:8::highavailability, enterprise_linux:8::resilientstoragepcs, pcs-snmp0:0.10.18-2.el8_10.7RHSA-2025:19719
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.10-1.el9_7.1RHSA-2025:20962
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.9-2.el9_6.2RHSA-2025:19512
Red Hatenterprise_linux:10.0pcs, pcs-snmp, cockpit-ha-cluster0:0.12.0-3.el10_0.3RHSA-2025:19513
Red Hatenterprise_linux:10.1pcs, pcs-snmp, cockpit-ha-cluster0:0.12.1-1.el10_1.1RHSA-2025:21036
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilitypcs, pcs-snmp0:0.10.8-1.el8_4.8RHSA-2025:19948
Red Hatrhel_e4s:8.6::highavailability, rhel_tus:8.6::highavailabilitypcs, pcs-snmp0:0.10.12-6.el8_6.10RHSA-2025:19734
Red Hatrhel_e4s:8.8::highavailability, rhel_tus:8.8::highavailabilitypcs, pcs-snmp0:0.10.15-4.el8_8.9RHSA-2025:19647
Red Hatrhel_e4s:9.0::highavailability, rhel_e4s:9.0::resilientstoragepcs, pcs-snmp0:0.11.1-10.el9_0.9RHSA-2025:19800
openSUSETumbleweedrubygem-rack-2.22.2.19-1.1openSUSE-SU-2025:15621-1
openSUSETumbleweedrubygem-rack-2.22.2.22-1.1openSUSE-SU-2026:10286-1
AlmaLinux8pcs, pcs-snmp0.10.18-2.el8_10.7.alma.1ALSA-2025:19719
AlmaLinux9pcs, pcs-snmp0.11.10-1.el9_7.1ALSA-2025:20962
AlmaLinux10cockpit-ha-cluster0.12.1-1.el10_1.1ALSA-2025:21036
Rocky Linux8pcs0:0.10.18-2.el8_10.7RLSA-2025:19719
Rocky Linux9pcs0:0.11.10-1.el9_7.1RLSA-2025:20962
Rocky Linux9pcs0:0.11.9-2.el9_6.2RLSA-2025:19512

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

The impact is IMPORTANT because this happens over a network and causes a denial of service. Large non-file fields are buffered in memory instead of being streamed or capped, leading to memory exhaustion and worker crashes.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10pcs-0:0.12.0-3.el10_0.3Fixed 2025-11-03RHSA-2025:19513
Red Hat Enterprise Linux 10pcs-0:0.12.1-1.el10_1.1Fixed 2025-11-11RHSA-2025:21036
Red Hat Enterprise Linux 7 Extended Lifecycle Supportpcs-0:0.9.169-3.el7_9.5Fixed 2025-11-18RHSA-2025:21696
Red Hat Enterprise Linux 8pcs-0:0.10.18-2.el8_10.7Fixed 2025-11-04RHSA-2025:19719
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpcs-0:0.10.8-1.el8_4.8Fixed 2025-11-10RHSA-2025:19948
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpcs-0:0.10.8-1.el8_4.8Fixed 2025-11-10RHSA-2025:19948
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepcs-0:0.10.12-6.el8_6.10Fixed 2025-11-04RHSA-2025:19734
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionspcs-0:0.10.12-6.el8_6.10Fixed 2025-11-04RHSA-2025:19734
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepcs-0:0.10.15-4.el8_8.9Fixed 2025-11-04RHSA-2025:19647
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspcs-0:0.10.15-4.el8_8.9Fixed 2025-11-04RHSA-2025:19647
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Not affected
Red Hat 3scale API Management Platform 23scale-amp21/zyncAffected
Red Hat 3scale API Management Platform 23scale-amp22/zyncWill not fix
47 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-61771.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON