VDB
Sign up
HIGH

GHSA-mhwp-qhpc-h3jm

SQL Injection in Active Record

Quick fix

GHSA-mhwp-qhpc-h3jm — activerecord: upgrade to the fixed version with the command below.

bundle update activerecord

Details

SQL injection vulnerability in activerecord/lib/active_record/connection_adapters/postgresql_adapter.rb in the PostgreSQL adapter for Active Record in Ruby on Rails 2.x and 3.x before 3.2.19 allows remote attackers to execute arbitrary SQL commands by leveraging improper bitstring quoting.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activerecord
Introduced in: 2.0.0Fixed in: 3.2.19
Fixbundle update activerecord

References