GHSA-hhg2-g6h6-c266

    Dashboard / Vulnerabilities / GHSA-hhg2-g6h6-c266

    GHSA-hhg2-g6h6-c266

    Published: 24 May 2022Last Modified: 24 Apr 2024
    Aliases:

    Summary: Yii SQL injection vulnerability

    Details: The findByCondition function in `framework/db/ActiveRecord.php` in Yii 2.x before 2.0.15 allows remote attackers to conduct SQL injection attacks via a findOne() or findAll() call, unless a developer recognizes an undocumented need to sanitize array input.

    Affected packages

    Package

    Name: yiisoft/yii2-dev

    Purl: pkg:composer/yiisoft/yii2-dev

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.12.1

    Affected versions

    2.0.0
    2.0.0-alpha
    2.0.0-beta
    2.0.0-rc
    2.0.1
    2.0.10
    2.0.11
    2.0.11.1
    2.0.11.2
    2.0.12
    2.0.2
    2.0.3
    2.0.4
    2.0.5
    2.0.6
    2.0.7
    2.0.8
    2.0.9

    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-hhg2-g6h6-c266 | CVE-DB