@adonisjs/lucid@4.1.1 vulnerabilities

SQL ORM built on top of Active Record pattern

  • latest version

    21.8.2

  • latest non vulnerable version

  • first published

    8 years ago

  • latest version published

    8 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @adonisjs/lucid 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
    Improperly Controlled Modification of Dynamically-Determined Object Attributes

    @adonisjs/lucid is a SQL ORM built on top of Active Record pattern

    Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the merge and fill methods, as well as record creation and update functions. An attacker can manipulate internal ORM state and bypass logic controls by injecting specially crafted keys into the payload passed to model assignment methods. This can result in unauthorized modification of records or logic bypasses by overwriting internal properties such as $isPersisted, $attributes, or $isDeleted.

    How to fix Improperly Controlled Modification of Dynamically-Determined Object Attributes?

    Upgrade @adonisjs/lucid to version 21.8.2, 22.0.0-next.6 or higher.

    <21.8.2>=22.0.0-next.0 <22.0.0-next.6