org.mvnpm:drizzle-orm@0.45.1

  • latest version

    0.45.4

  • latest non vulnerable version

  • first published

    8 months ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:drizzle-orm 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

    org.mvnpm:drizzle-orm is a Drizzle ORM package for SQL databases

    Affected versions of this package are vulnerable to SQL Injection through the escapeName handling in the PostgreSQL, SQLite, and SingleStore dialects. An attacker can inject arbitrary SQL by supplying a malicious identifier to sql.identifier() or sql.as(), causing generated queries to break out of the quoted name and execute attacker-controlled SQL. This affects applications that build SELECT, ORDER BY, INSERT, UPDATE, or migration statements from untrusted table, column, or alias names. In the worst case, if the application user has write and execute privileges, this could allow code execution.

    How to fix SQL Injection?

    Upgrade org.mvnpm:drizzle-orm to version 0.45.2 or higher.

    [0.45.1,0.45.2)