@mikro-orm/knex@6.6.14-dev.1

TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.

  • latest version

    6.6.14

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    14 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @mikro-orm/knex 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
    • H
    SQL Injection

    @mikro-orm/knex is a TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.

    Affected versions of this package are vulnerable to SQL Injection via improper escaping in the quoteIdentifier and getSearchJsonPropertyKey functions. An attacker can execute arbitrary SQL commands, read sensitive data, or modify and delete database contents by supplying specially crafted input to APIs that accept identifiers or JSON-path keys.

    How to fix SQL Injection?

    Upgrade @mikro-orm/knex to version 6.6.14 or higher.

    <6.6.14