CVE-2013-0183 Rack rubygems receiving excessively long lines triggers out-of-memory error
Remote attackers can cause denial of service via memory exhaustion in Rack multipart parser, affecting Ruby web applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2013-0183?
CVE-2013-0183 is a medium-severity denial of service vulnerability in n/a, published on 1 Mar 2013. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-119
Which versions are affected by CVE-2013-0183?
4 open source packages ship an affected version, including rack. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
rack RubyGems | From 1.3.0 | 1.3.8 |
rack RubyGems | From 1.3.0 | 1.3.8 |
rack RubyGems | From 1.4.0 | 1.4.3 |
rack RubyGems | From 1.4.0 | 1.4.3 |
Products include Rack Project Rack.
How do I fix CVE-2013-0183?
Upgrade rack to a fixed version for your release line: 1.3.8 or 1.4.3.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2013-0183 being exploited?
There is no known exploitation of CVE-2013-0183 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2013-0183, GHSA-3pxh-h8hw-mj8w, UBUNTU-CVE-2013-0183.