CVE-2006-4112 Rails Denial of Service vulnerability

High 7.5 Published Updated

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.

PackageAffectedFixed in
rails RubyGemsFrom 1.1.01.1.6
rails RubyGemsFrom 1.1.01.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.

All Rubyonrails Rails vulnerabilities

Sources

Also known as DEBIAN-CVE-2006-4112, GHSA-9wrq-xvmp-xjc8.

Is CVE-2006-4112 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free