Back to CVE catalog
CVE-2008-4094

Ruby on Rails SQL Injection via Limit and Offset Parameters

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityLow
ConfidentialityPartial
IntegrityPartial
AvailabilityPartial

CVSS summary v2.0

7.5High
Published:
Updated:
EPSS:
3.03%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:rubyonrailsrailsAffected versions:
0.10.0Show full version range for rails
0.10.10.11.00.11.10.12.00.12.10.13.00.13.10.14.10.14.20.14.30.14.40.9.10.9.20.9.30.9.40.9.4.11.0.01.1.01.1.11.1.21.1.31.1.41.1.51.1.61.2.01.2.11.2.21.2.31.2.41.2.51.2.61.9.52.0.02.0.12.0.22.0.42.1.0
Vendor:rubyonrailsruby on railsAffected versions:
≤ 2.1.0Show full version range for ruby on rails
0.5.00.5.50.5.60.5.70.6.00.6.50.7.00.8.00.8.50.9.0
Vendor:Debianrails
Environments (4)
  • bookworm
  • forky
  • sid
  • trixie
Affected versions:
< 2.1.0-1

1–3 of 3 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd · Wazuh CTI (cna)7.5 / 10HighCVSS 2.0Details
Attack complexity
Low
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories20

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences