GHSA-h6w6-xmqv-7q78

    Dashboard / Vulnerabilities / GHSA-h6w6-xmqv-7q78

    GHSA-h6w6-xmqv-7q78

    Published: 24 Oct 2017Last Modified: 3 Nov 2025
    Aliases:

    Summary: activerecord vulnerable to SQL Injection

    Details: Multiple SQL injection vulnerabilities in the `quote_table_name` method in the ActiveRecord adapters in `activerecord/lib/active_record/connection_adapters/` in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allow remote attackers to execute arbitrary SQL commands via a crafted column name.

    Affected packages

    Package

    Name: activerecord

    Purl: pkg:gem/activerecord

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 2.0.0
    Fixed -2.3.13

    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