Skip to content
OpenAdvisories
Medium CVE-2011-5036 EUVD-2022-5298GHSA-v6j3-7jrw-hq2p

Rack Gem Subject to Denial of Service via Hash Collisions

Published Dec 30, 2011 · Updated Aug 7, 2024 · Assigned by mitre

Description

Rack before 1.1.3, 1.2.x before 1.2.5, and 1.3.x before 1.3.6 computes hash values for form parameters without restricting the ability to trigger hash collisions predictably, which allows remote attackers to cause a denial of service (CPU consumption) by sending many crafted parameters.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-rack 1.4.0-1 —
Debian 13 ruby-rack 1.4.0-1 —
Debian 12 ruby-rack 1.4.0-1 —
Debian 6.0 librack-ruby 1.1.0-4+squeeze1 DSA-2783-1

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jruby:jruby-parent < 1.6.5.1 1.6.5.1 GHSA-v6j3-7jrw-hq2p
RubyGems rack < 1.1.3 1.1.3 GHSA-v6j3-7jrw-hq2p
RubyGems rack >= 1.2.0, < 1.2.5 1.2.5 GHSA-v6j3-7jrw-hq2p
RubyGems rack >= 1.3.0, < 1.3.6 1.3.6 GHSA-v6j3-7jrw-hq2p

Advisories 1

References