GHSA-58v4-qwx5-7f59

    Dashboard / Vulnerabilities / GHSA-58v4-qwx5-7f59

    GHSA-58v4-qwx5-7f59

    Published: 21 Oct 2019Last Modified: 10 Sept 2026

    Summary: SQL Injection in knex

    Details: knex.js versions before 0.19.5 are vulnerable to SQL Injection attack. Identifiers are escaped incorrectly as part of the MSSQL dialect, allowing attackers to craft a malicious query to the host DB.

    Affected packages

    Package

    Name: knex

    Purl: pkg:npm/knex

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.19.5

    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