VDB
Sign up
MEDIUM

GHSA-v6j3-7jrw-hq2p

Rack Gem Subject to Denial of Service via Hash Collisions

Quick fix

GHSA-v6j3-7jrw-hq2p — rack: upgrade to the fixed version with the command below.

bundle update rack

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rack
Introduced in: 0Fixed in: 1.1.3
Fixbundle update rack
RubyGems/rack
Introduced in: 1.2.0Fixed in: 1.2.5
Fixbundle update rack
RubyGems/rack
Introduced in: 1.3.0Fixed in: 1.3.6
Fixbundle update rack
Maven/org.jruby:jruby-parent
Introduced in: 0Fixed in: 1.6.5.1
Fix# pom.xml: bump <version>1.6.5.1</version> for org.jruby:jruby-parent

References