GHSA-mhwp-qhpc-h3jm

    Dashboard / Vulnerabilities / GHSA-mhwp-qhpc-h3jm

    GHSA-mhwp-qhpc-h3jm

    Published: 24 Oct 2017Last Modified: 31 Mar 2025
    Aliases:

    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.

    Affected packages

    Package

    Name: activerecord

    Purl: pkg:gem/activerecord

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.0.0
    Fixed -3.2.19

    Affected versions

    2.0.0
    2.0.1
    2.0.2
    2.0.4
    2.0.5

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-mhwp-qhpc-h3jm | CVE-DB