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

CVE-2025-46727: Rack has an Unbounded-Parameter DoS in Rack::QueryParser

May 8, 2025 (updated May 9, 2025)

Rack::QueryParser parses query strings and application/x-www-form-urlencoded bodies into Ruby data structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters.

References

  • github.com/advisories/GHSA-gjh7-p2fx-99vx
  • github.com/rack/rack
  • github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712
  • github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3
  • github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74
  • github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vx
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-46727.yml
  • nvd.nist.gov/vuln/detail/CVE-2025-46727

Code Behaviors & Features

Detect and mitigate CVE-2025-46727 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 before 2.2.14, all versions starting from 3.0 before 3.0.16, all versions starting from 3.1 before 3.1.14

Fixed versions

  • 2.2.14
  • 3.0.16
  • 3.1.14

Solution

Upgrade to versions 2.2.14, 3.0.16, 3.1.14 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

gem/rack/CVE-2025-46727.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:55 +0000.