VDB
Sign up
MEDIUM

GHSA-h77x-m5q8-c29h

Rack vulnerable to REDoS

Quick fix

GHSA-h77x-m5q8-c29h — rack: upgrade to the fixed version with the command below.

bundle update rack

Details

`lib/rack/multipart.rb` in Rack before 1.1.4, 1.2.x before 1.2.6, 1.3.x before 1.3.7, and 1.4.x before 1.4.2 uses an incorrect regular expression, which allows remote attackers to cause a denial of service (infinite loop) via a crafted Content-Disposion header.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rack
Introduced in: 0Fixed in: 1.1.4
Fixbundle update rack
RubyGems/rack
Introduced in: 1.2.0Fixed in: 1.2.6
Fixbundle update rack
RubyGems/rack
Introduced in: 1.3.0Fixed in: 1.3.7
Fixbundle update rack
RubyGems/rack
Introduced in: 1.4.0Fixed in: 1.4.2
Fixbundle update rack

References