Rack QueryParser has an unsafe default allowing params_limit bypass via semicolon-separated parameters
Description
Rack is a modular Ruby web server interface. Prior to version 2.2.18, Rack::QueryParser enforces its params_limit only for parameters separated by &, while still splitting on both & and ;. As a result, attackers could use ; separators to bypass the parameter count limit and submit more parameters than intended. Applications or middleware that directly invoke Rack::QueryParser with its default configuration (no explicit delimiter) could be exposed to increased CPU and memory consumption. This can be abused as a limited denial-of-service vector. This issue has been patched in version 2.2.18.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rackRubyGems | < 2.2.18 | 2.2.18 |
Affected products
15- osv-coords14 versionspkg:apk/chainguard/gitlab-rails-ce-18.1pkg:apk/chainguard/ruby3.2-rack-2.2pkg:apk/chainguard/ruby3.3-rack-2.2pkg:apk/chainguard/ruby3.4-rack-2.2pkg:apk/chainguard/ruby4.0-rack-2.2pkg:apk/wolfi/ruby3.2-rack-2.2pkg:apk/wolfi/ruby3.3-rack-2.2pkg:apk/wolfi/ruby3.4-rack-2.2pkg:apk/wolfi/ruby4.0-rack-2.2pkg:gem/rackpkg:rpm/almalinux/cockpit-ha-clusterpkg:rpm/almalinux/pcspkg:rpm/almalinux/pcs-snmppkg:rpm/opensuse/rubygem-rack-2.2&distro=openSUSE%20Tumbleweed
< 18.1.6-r13+ 13 more
- (no CPE)range: < 18.1.6-r13
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.22-r0
- (no CPE)range: < 2.2.18
- (no CPE)range: < 0.12.1-1.el10_1.1
- (no CPE)range: < 0.10.18-2.el8_10.7.alma.1
- (no CPE)range: < 0.10.18-2.el8_10.7.alma.1
- (no CPE)range: < 2.2.18-1.1
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-625h-95r8-8xpmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59830ghsaADVISORY
- github.com/rack/rack/commit/54e4ffdd5affebcb0c015cc6ae74635c0831ed71ghsax_refsource_MISCWEB
- github.com/rack/rack/security/advisories/GHSA-625h-95r8-8xpmghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.