Skip to content
OpenAdvisories
High CVE-2008-4094 EUVD-2017-0329GHSA-xf96-32q2-9rw2

Rails ActiveRecord gem vulnerable to SQL injection

Published Sep 30, 2008 · Updated Aug 7, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rails 2.1.0-1 —
Debian 13 rails 2.1.0-1 —
Debian 12 rails 2.1.0-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems activerecord < 2.1.1 2.1.1 GHSA-xf96-32q2-9rw2

References