CVE-2008-4094
Ruby packages · CVE-2008-4094
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 3.030% · score date 2026-11-18. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T12:59:48.071Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:44.805Z | OSV |
| affected | verified | 2026-11-19T12:54:06.429Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:54:06.429Z | CVE Program |
Affected versions and configuration
n/a n/a; default status: unknown: n/a [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "http://gist.github.com/8946",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45109",
"name": "rubyonrails-activerecord-sql-injection(45109)",
"tags": [
"vdb-entry",
"x_refsource_XF",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2008/09/13/2",
"name": "[oss-security] 20080913 CVE request: Ruby on Rails <2.1.1 :limit and :offset SQL injection",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://rails.lighthouseapp.com/projects/8994/tickets/964",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://rails.lighthouseapp.com/projects/8994/tickets/288",
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/31875",
"name": "31875",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html",
"name": "SUSE-SR:2008:027",
"tags": [
"vendor-advisory",
"x_refsource_SUSE",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/31910",
"name": "31910",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://www.securitytracker.com/id?1020871",
"name": "1020871",
"tags": [
"vdb-entry",
"x_refsource_SECTRACK",
"x_transferred"
]
},
{
"url": "http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter/",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
},
{
"url": "http://www.openwall.com/lists/oss-security/2008/09/16/1",
"name": "[oss-security] 20080915 Re: CVE request: Ruby on Rails <2.1.1 :limit and :offset SQL injection",
"tags": [
"mailing-list",
"x_refsource_MLIST",
"x_transferred"
]
},
{
"url": "http://www.securityfocus.com/bid/31176",
"name": "31176",
"tags": [
"vdb-entry",
"x_refsource_BID",
"x_transferred"
]
},
{
"url": "http://secunia.com/advisories/31909",
"name": "31909",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
]
},
{
"url": "http://www.vupen.com/english/advisories/2008/2562",
"name": "ADV-2008-2562",
"tags": [
"vdb-entry",
"x_refsource_VUPEN",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-07T10:00:42.864Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-xf96-32q2-9rw2",
"aliases": [
"CVE-2008-4094"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.1"
}
]
}
],
"package": {
"name": "activerecord",
"purl": "pkg:gem/activerecord",
"ecosystem": "RubyGems"
},
"versions": [
"1.0.0",
"1.1.0",
"1.10.0",
"1.10.1",
"1.11.0",
"1.11.1",
"1.12.1",
"1.12.2",
"1.13.0",
"1.13.1",
"1.13.2",
"1.14.0",
"1.14.1",
"1.14.2",
"1.14.3",
"1.14.4",
"1.15.0",
"1.15.1",
"1.15.2",
"1.15.3",
"1.15.4",
"1.15.5",
"1.15.6",
"1.2.0",
"1.3.0",
"1.4.0",
"1.5.0",
"1.5.1",
"1.6.0",
"1.7.0",
"1.8.0",
"1.9.0",
"1.9.1",
"2.0.0",
"2.0.1",
"2.0.2",
"2.0.4",
"2.0.5",
"2.1.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-xf96-32q2-9rw2/GHSA-xf96-32q2-9rw2.json"
}
}
],
"severity": [],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2008-4094",
"type": "ADVISORY"
},
{
"url": "https://github.com/rails/rails/commit/ef0ea782b1f5cf7b08e74ea3002a16c708f66645",
"type": "WEB"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45109",
"type": "WEB"
},
{
"url": "https://github.com/rails/rails",
"type": "PACKAGE"
},
{
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2008-4094.yml",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20080620000955/http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20080620201733/http://blog.innerewut.de/files/rails/activerecord-1.15.3.patch",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20080620201744/http://blog.innerewut.de/files/rails/activerecord-2.0.2.patch",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20081104151751/http://gist.github.com/8946",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20081113122736/http://secunia.com/advisories/31875",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20081207211431/http://secunia.com/advisories/31909",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20081207211436/http://secunia.com/advisories/31910",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20091101000000*/http://www.vupen.com/english/advisories/2008/2562",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20120120194518/http://www.securityfocus.com/bid/31176",
"type": "WEB"
},
{
"url": "https://web.archive.org/web/20201207112829/http://www.securitytracker.com/id?1020871",
"type": "WEB"
},
{
"url": "http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html",
"type": "WEB"
},
{
"url": "http://rails.lighthouseapp.com/projects/8994/tickets/288",
"type": "WEB"
},
{
"url": "http://rails.lighthouseapp.com/projects/8994/tickets/964",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2008/09/13/2",
"type": "WEB"
},
{
"url": "http://www.openwall.com/lists/oss-security/2008/09/16/1",
"type": "WEB"
},
{
"url": "http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-89"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2008-09-30T17:22:09Z",
"github_reviewed_at": "2020-06-16T22:03:04Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | activerecord | Not a distribution channel | 2.1.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CVE ProgramConsulted: 2026-11-19T12:54:06.429ZArchived source JSON
Source publication: 2008-09-30T17:00:00.000Z
Source modification: 2024-08-07T10:00:42.864ZDocument fingerprint
e8ef533d1175bbf386a5fed999bfe1ab54a321c167253b37c32319235110fea9 - CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T12:59:48.071ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
8da76c8dd08afb8a1c9ca20b5f5e5515c98c90dd7819316a21c1028bfb3eb16c - OSVConsulted: 2026-11-19T12:52:44.805ZArchived source JSON
Source publication: 2017-10-24T18:33:38.000Z
Source modification: 2024-12-07T05:39:18.718ZDocument fingerprint
5aabea5574f8b18817c51908dfbdffe1875008669e22e0b5d3b4151bd0455fae
Official status history
- UNKNOWN → PUBLISHED · · evidence