GHSA-pr3r-4wrp-r2pv

    Dashboard / Vulnerabilities / GHSA-pr3r-4wrp-r2pv

    GHSA-pr3r-4wrp-r2pv

    Published: 24 Oct 2017Last Modified: 20 Feb 2024
    Aliases:

    Summary: ActiveRecord in Ruby on Rails allows database-query bypass

    Details: Active Record in Ruby on Rails 4.2.x before 4.2.7.1 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660, CVE-2012-2694, and CVE-2013-0155.

    Affected packages

    Package

    Name: activerecord

    Purl: pkg:gem/activerecord

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.2.0
    Fixed -4.2.7.1

    Affected versions

    4.2.0
    4.2.1
    4.2.1.rc1
    4.2.1.rc2
    4.2.1.rc3
    4.2.1.rc4
    4.2.2
    4.2.3
    4.2.3.rc1
    4.2.4
    4.2.4.rc1
    4.2.5
    4.2.5.1
    4.2.5.2
    4.2.5.rc1
    4.2.5.rc2
    4.2.6
    4.2.6.rc1
    4.2.7
    4.2.7.rc1

    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