CVE-2006-4112 Rails Denial of Service vulnerability
Remote attackers can execute arbitrary Ruby code or cause denial of service via malicious URLs in the routing mechanism of Ruby on Rails.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2006-4112?
CVE-2006-4112 is a high-severity code injection vulnerability in Rubyonrails Rails, published on 14 Aug 2006. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Unspecified vulnerability in the "dependency resolution mechanism" in Ruby on Rails 1.1.0 through 1.1.5 allows remote attackers to execute arbitrary Ruby code via a URL that is not properly handled in the routing code, which leads to a denial of service (application hang) or "data loss," a different vulnerability than CVE-2006-4111.
Which versions are affected by CVE-2006-4112?
2 open source packages ship an affected version, including rails. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
rails RubyGems | From 1.1.0 | 1.1.6 |
rails RubyGems | From 1.1.0 | 1.1.6 |
Products include Rubyonrails Rails.
How do I fix CVE-2006-4112?
Upgrade rails to 1.1.6 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2006-4112 being exploited?
There is no known exploitation of CVE-2006-4112 in the wild and no public exploit code.
Other vulnerabilities in Rubyonrails Rails
- CVE-2013-0277 Active Record contains deserialization of arbitrary YAML
- CVE-2017-17916 SQL injection in n/a
- CVE-2017-17917 SQL injection in n/a
- CVE-2026-33195 Rails Active Storage has possible Path Traversal in DiskService
- CVE-2024-26142 Rails possible ReDoS vulnerability in Accept header parsing in Action Dispatch
Sources
Also known as DEBIAN-CVE-2006-4112, GHSA-9wrq-xvmp-xjc8.