cve.bz

CVE-2025-49007 rack rack

6.6 mediumEPSS 0.6%Fix available

Medium (6.6) in rack rack. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in rack 3.1.16.

On this page
Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.16, there is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This is very similar to the previous security issue CVE-2022-44571. Carefully crafted input can cause Content-Disposition header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is used typically used in multipart parsing. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted. Version 3.1.16 contains a patch for the vulnerability.

Severity

CVSS 4.0

6.6 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
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-06-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-1333 Inefficient Regular Expression Complexity
CWE-770 Allocation of Resources Without Limits or Throttling
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-49007 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-49007?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-49007?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-49007 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:rackfrom 3.1.0 before 3.1.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-47m2-26rw-j2jwRubyGemsrack>=3.1.0 <3.1.163.1.16

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14ruby-rack3.1.16-0.1DEBIAN-CVE-2025-49007

From the distributions' data via OSV.dev: the Debian Security Tracker. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability in Rack is considered Important rather than Moderate due to its impact on core request handling and application availability. The flaw lies in the inefficient parsing of the Content-Disposition header, commonly used in multipart form submissions. An attacker can exploit this by sending specially crafted input that causes the parser to consume excessive CPU resources, leading to a denial-of-service (DoS) condition. Since virtually all Rails applications and many other Ruby web apps rely on Rack for multipart parsing, the attack surface is widespread and affects production systems at the framework level. The attack does not require authentication and can be triggered with a single malicious request, making it low-cost but high-impact. Furthermore, because the vulnerability is exploited during early request processing, it can bypass typical application-level protections. This combination of broad exposure, low complexity, and high disruption potential elevates the severity to important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected
Red Hat Enterprise Linux 10pcsNot affected
Red Hat Enterprise Linux 10rhel10/ruby-33Not affected
Red Hat Enterprise Linux 10ubi10/ruby-33Not affected
Red Hat Enterprise Linux 7pcsNot affected
Red Hat Enterprise Linux 8pcsAffected
Red Hat Enterprise Linux 9pcsNot affected
Red Hat Enterprise Linux 9rhel9/ruby-30Not affected
Red Hat Enterprise Linux 9rhel9/ruby-31Not affected
Red Hat Enterprise Linux 9rhel9/ruby-33Not affected
Red Hat Enterprise Linux 9ubi9/ruby-30Not affected
Red Hat Enterprise Linux 9ubi9/ruby-31Not affected
Red Hat Enterprise Linux 9ubi9/ruby-33Not affected
Red Hat Satellite 6rubygem-rackNot affected
Red Hat Satellite 6satellite-capsule:el8/rubygem-rackNot affected
Red Hat Satellite 6satellite:el8/rubygem-rackNot affected

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-49007.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON