Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack
  4. ›
  5. CVE-2025-49007

CVE-2025-49007: ReDoS Vulnerability in Rack::Multipart handle_mime_head

June 5, 2025 (updated November 10, 2025)

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.

References

  • github.com/advisories/GHSA-47m2-26rw-j2jw
  • github.com/rack/rack
  • github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f
  • github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901
  • github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml
  • nvd.nist.gov/vuln/detail/CVE-2025-49007

Code Behaviors & Features

Detect and mitigate CVE-2025-49007 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.1.0 before 3.1.16

Fixed versions

  • 3.1.16

Solution

Upgrade to version 3.1.16 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

gem/rack/CVE-2025-49007.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:58 +0000.