GHSA-xqg8-cv3h-xppv

    Dashboard / Vulnerabilities / GHSA-xqg8-cv3h-xppv

    GHSA-xqg8-cv3h-xppv

    Published: 24 Oct 2017Last Modified: 8 Nov 2023
    Aliases:

    Summary: SQL Injection in sequelize

    Details: Versions 2.0.0-rc-7 and earlier of `sequelize` are affected by a SQL injection vulnerability when user input is passed into the order parameter. ## Proof of Concept ```javascript Test.findAndCountAll({ where: { id :1 }, order : [['id', 'UNTRUSTED USER INPUT']] }) ``` ## Recommendation Update to version 2.0.0-rc8 or later

    Affected packages

    Package

    Name: sequelize

    Purl: pkg:npm/sequelize

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.0.0-rc8

    Affected versions

    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