ADVISORIES

GitHub Advisory Database

GHSA-r8fh-hq2p-7qhq

Active Record contains SQL Injection via improper range quoting

Details

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 4.x before 4.0.7 and 4.1.x before 4.1.3 allows remote attackers to execute arbitrary SQL commands by leveraging improper range quoting.

Affected packages

EcosystemPackageAffected versions
RubyGemsactiverecord
From 4.0.0 before 4.0.7 (fixed in 4.0.7)
RubyGemsactiverecord
From 4.1.0 before 4.1.3 (fixed in 4.1.3)

References