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

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
  • 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. Learn more about Dependency Scanning →

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.

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 Tue, 19 Aug 2025 12:19:31 +0000.