Skip to content
OpenAdvisories
Medium CVE-2013-0183 EUVD-2017-0158GHSA-3pxh-h8hw-mj8w

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

Published Mar 1, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

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.

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.1-2.1 —
Debian 13 ruby-rack 1.4.1-2.1 —
Debian 12 ruby-rack 1.4.1-2.1 —
Debian 6.0 librack-ruby 1.1.0-4+squeeze1 DSA-2783-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS ruby-rack 1.5.2-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems rack >= 1.3.0, < 1.3.8 1.3.8 GHSA-3pxh-h8hw-mj8w
RubyGems rack >= 1.4.0, < 1.4.3 1.4.3 GHSA-3pxh-h8hw-mj8w

Advisories 1

References