CVE-2008-4094
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2.1.0-1 |
| sid | Fixed | 2.1.0-1 |
| forky | Fixed | 2.1.0-1 |
| bullseye | Fixed | 2.1.0-1 |
| bookworm | Fixed | 2.1.0-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | activerecord | <~> 2.0.0 | ~> 2.0.0 |
| RubyGems | activerecord | <2.1.1 | 2.1.1 |
References
- http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter
- https://nvd.nist.gov/vuln/detail/CVE-2008-4094
- https://github.com/rails/rails/commit/ef0ea782b1f5cf7b08e74ea3002a16c708f66645
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45109
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2008-4094.yml
- https://web.archive.org/web/20080620000955/http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1
- https://web.archive.org/web/20080620201733/http://blog.innerewut.de/files/rails/activerecord-1.15.3.patch
- https://web.archive.org/web/20080620201744/http://blog.innerewut.de/files/rails/activerecord-2.0.2.patch
- https://web.archive.org/web/20081104151751/http://gist.github.com/8946
- https://web.archive.org/web/20081113122736/http://secunia.com/advisories/31875
- https://web.archive.org/web/20081207211431/http://secunia.com/advisories/31909
- https://web.archive.org/web/20081207211436/http://secunia.com/advisories/31910
- https://web.archive.org/web/20091101000000*/http://www.vupen.com/english/advisories/2008/2562
- https://web.archive.org/web/20120120194518/http://www.securityfocus.com/bid/31176
- https://web.archive.org/web/20201207112829/http://www.securitytracker.com/id?1020871
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
- http://rails.lighthouseapp.com/projects/8994/tickets/288
- http://rails.lighthouseapp.com/projects/8994/tickets/964
- http://www.openwall.com/lists/oss-security/2008/09/13/2
- http://www.openwall.com/lists/oss-security/2008/09/16/1
- https://security-tracker.debian.org/tracker/CVE-2008-4094
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.