@mikro-orm/mariadb@6.6.10-dev.0

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

    7.1.1

  • latest non vulnerable version

  • first published

    6 years ago

  • latest version published

    2 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @mikro-orm/mariadb 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

    @mikro-orm/mariadb 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 the interpretation of specially crafted objects as raw SQL query fragments in ORM write APIs such as wrap(entity).assign(userInput) followed by em.flush(), em.nativeUpdate(), em.nativeInsert(), or em.create() followed by em.flush(). An attacker can execute arbitrary SQL commands by supplying malicious input to these APIs.

    How to fix SQL Injection?

    Upgrade @mikro-orm/mariadb to version 6.6.10-dev.1 or higher.

    <6.6.10-dev.1