CVE-2008-4094

Description

Multiple SQL injection vulnerabilities in Ruby on Rails before 2.1.1 allow remote attackers to execute arbitrary SQL commands via the (1) :limit and (2) :offset parameters, related to ActiveRecord, ActiveSupport, ActiveResource, ActionPack, and ActionMailer.

Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
3.030%
chance of exploitation in the next 30 days
higher than 87.7% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 5
Metasploit modules: 0
Nuclei templates: 0

Weakness

Timeline

  1. 2008-09-30Published by the CNA17:00 UTC
  2. 2017-10-24GitHub advisory published (GHSA-xf96-32q2-9rw2)3311 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-xf96-32q2-9rw2, affected packages:

PackageVulnerable versionsFixed in
RubyGems activerecordbefore 2.1.12.1.1

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
rubyonrails rails0.10.0no fix listed0.10.1no fix listed0.11.0no fix listed0.11.1no fix listed0.12.0no fix listed(+33 more)not listednot listednot listednot listednot listed
rubyonrails ruby_on_rails0.5.0no fix listed0.5.5no fix listed0.5.6no fix listed0.5.7no fix listed0.6.0no fix listed(+6 more)not listednot listednot listednot listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources