Skip to content
Fencer Vulns
high 7.5

CVE-2008-4094 json

Rails ActiveRecord gem vulnerable to SQL injection

published 2008-09-30 18 y ago modified 2026-06-16 4 mo ago also GHSA-xf96-32q2-9rw2 , EUVD-2017-0329

cvss
7.5
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.0%
EPSS 3.0% chance of exploitation in 30 days, percentile 87%
public exploits
0
none known

Summary

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.

Patch / fix

Exploit prediction

3.03% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • secunia.com http://secunia.com/advisories/31875 referenced PoC, tagged "exploit" by a source, unverified
  • secunia.com http://secunia.com/advisories/31910 referenced PoC, tagged "exploit" by a source, unverified
  • blog.innerewut.de http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1 referenced PoC, tagged "exploit" by a source, unverified
  • rorsecurity.info http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter/ referenced PoC, tagged "exploit" by a source, unverified
  • secunia.com http://secunia.com/advisories/31909 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected packages

ecosystem package affected fixed in
rubygems activerecord
<2.1.1
2.1.1

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.