GHSA-gh2w-j7cx-2664

    Dashboard / Vulnerabilities / GHSA-gh2w-j7cx-2664

    GHSA-gh2w-j7cx-2664

    Published: 24 Oct 2017Last Modified: 21 Jan 2025
    Aliases:

    Summary: Active Record contains SQL Injection

    Details: SQL injection vulnerability in the Active Record component in Ruby on Rails before 2.3.15, 3.0.x before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

    Affected packages

    Package

    Name: activerecord

    Purl: pkg:gem/activerecord

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 3.0.0.beta
    Fixed -3.0.18

    Affected versions

    3.0.0
    3.0.0.beta
    3.0.0.beta2
    3.0.0.beta3
    3.0.0.beta4
    3.0.0.rc
    3.0.0.rc2
    3.0.1
    3.0.10
    3.0.10.rc1
    3.0.11
    3.0.12
    3.0.12.rc1
    3.0.13
    3.0.13.rc1
    3.0.14
    3.0.15
    3.0.16
    3.0.17
    3.0.2
    3.0.3
    3.0.4
    3.0.4.rc1
    3.0.5
    3.0.5.rc1
    3.0.6
    3.0.6.rc1
    3.0.6.rc2
    3.0.7
    3.0.7.rc1
    3.0.7.rc2
    3.0.8
    3.0.8.rc1
    3.0.8.rc2
    3.0.8.rc4
    3.0.9
    3.0.9.rc1
    3.0.9.rc3
    3.0.9.rc4
    3.0.9.rc5

    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