VDB

CVE-2025-61771

CVE-2025-61771 PUBLISHED CVSS 7.5 HIGH

Reported by github_m · Published October 7, 2025

rack is fixed in 3.2.2, 3.1.17 and 2.2.19 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rackRubyGems3.2.2, 3.1.17, 2.2.19
logstash-8.19Chainguard8.19.5-r1
ruby3.4-rails-8.0Chainguard8.0.3-r1
ruby3.2-rack-2.2Wolfi2.2.22-r0
gitlab-cng-18.3Chainguard18.3.4-r0
ruby3.3-rails-8.0Chainguard8.0.3-r1
pcs-snmpAmazon Linux0.9.169-3.amzn2.3.0.7
logstash-9.0Chainguard9.0.8-r1
ruby3.2-rails-8.0Wolfi8.0.3-r1
ruby3.3-rack-2.2Wolfi2.2.22-r0
ruby3.4-rack-2.2Chainguard2.2.22-r0
ruby3.2-rails-7.2Chainguard7.2.2.2-r1

6 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
rackrack< 2.2.19, >= 3.1, < 3.1.17, >= 3.2, < 3.2.2
chainguardlogstash-8.190
chainguardruby3.4-rails-8.00
wolfiruby3.2-rack-2.20
chainguardgitlab-cng-18.30
chainguardruby3.3-rails-8.00
RubyGemsrack3.2, 0, 3.1
amazon:2pcs-snmp0
chainguardlogstash-9.00
wolfiruby3.2-rails-8.00
wolfiruby3.3-rack-2.20
chainguardruby3.4-rack-2.20
chainguardruby3.2-rails-7.20
chainguardgitlab-rails-ce-18.10
wolfilogstash-9.10
chainguardgitlab-cng-18.20
chainguardruby3.2-rack-2.20
wolfigitlab-cng-18.20
chainguardlogstash-8.180
rackrack3.1, 3.2, 0

…and 13 more

Timeline

  • Oct 7, 2025 CVE Published
  • Oct 7, 2025 Coalition ESS Score (7 in total, the first dated here)
  • Oct 8, 2025 EPSS Score (30 in total, the first dated here)
  • Dec 7, 2025 Security Advisory (17 in total, the first dated here)
  • Aug 10, 2026 Distribution Patch (16 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-61771
vulnetix vdb fixes CVE-2025-61771

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-61771/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›