Advisory

GHSA-mhwp-qhpc-h3jm

Also known as: CVE-2014-3482

Summary

SQL Injection in Active Record

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-03-31 17:38 UTC

Affected packages and fixes

activerecord

RubyGems · All systems

Affected

  • introduced 2.0.0, fixed 3.2.19 (ecosystem)

Fixed versions

3.2.19

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences