VDB
Sign up
MEDIUM

GHSA-3pxh-h8hw-mj8w

Rack rubygems receiving excessively long lines triggers out-of-memory error

Quick fix

GHSA-3pxh-h8hw-mj8w — rack: upgrade to the fixed version with the command below.

bundle update rack

Details

multipart/parser.rb in Rack 1.3.x before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to cause a denial of service (memory consumption and out-of-memory error) via a long string in a Multipart HTTP packet.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/rack
Introduced in: 1.3.0Fixed in: 1.3.8
Fixbundle update rack
RubyGems/rack
Introduced in: 1.4.0Fixed in: 1.4.3
Fixbundle update rack

References