kysely@0.28.13 vulnerabilities

Type safe SQL query builder

  • latest version

    0.28.14

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    7 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the kysely package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • C
    SQL Injection

    kysely is a Type safe SQL query builder

    Affected versions of this package are vulnerable to SQL Injection via the sanitizeStringLiteral function. An attacker can execute arbitrary SQL commands by supplying specially crafted input containing backslashes and single quotes, which are not properly escaped in MySQL's default configuration. This allows the attacker to break out of the intended string literal context and inject malicious SQL statements.

    How to fix SQL Injection?

    Upgrade kysely to version 0.28.14 or higher.

    >=0.28.12 <0.28.14
    • C
    SQL Injection

    kysely is a Type safe SQL query builder

    Affected versions of this package are vulnerable to SQL Injection via the sanitizeStringLiteral function. An attacker can execute arbitrary SQL commands by supplying specially crafted input containing backslashes and quotes, which are not properly escaped, allowing manipulation of the resulting SQL query.

    How to fix SQL Injection?

    Upgrade kysely to version 0.28.14 or higher.

    <0.28.14