@nocobase/database@1.9.63

  • latest version

    2.1.4

  • latest non vulnerable version

  • first published

    5 years ago

  • latest version published

    10 hours ago

  • licenses detected

    • >=1.0.0-alpha.1 <2.0.3; >=2.1.0-alpha.1 <2.1.0-alpha.6; >=2.1.0-beta.1 <2.1.0-beta.5
  • Direct Vulnerabilities

    Known vulnerabilities in the @nocobase/database 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

    @nocobase/database is a

    Affected versions of this package are vulnerable to SQL Injection via the queryParentSQL function. An attacker can execute arbitrary SQL commands, extract sensitive data, modify or delete database records, and potentially cause denial of service by injecting malicious input into string-type primary key fields when recursive eager loading is triggered on a tree collection. This is only exploitable if the attacker has permission to create records in a collection with string-type primary keys and recursive eager loading is enabled.

    How to fix SQL Injection?

    Upgrade @nocobase/database to version 2.0.39 or higher.

    <2.0.39