dev.langchain4j:langchain4j-pgvector@1.5.0-beta11

  • latest version

    0.36.2

  • latest non vulnerable version

  • first published

    2 years ago

  • latest version published

    1 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the dev.langchain4j:langchain4j-pgvector 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
    • M
    SQL Injection

    Affected versions of this package are vulnerable to SQL Injection via the EmbeddingSearchRequest.filter process. An attacker can access sensitive data, modify or delete database records, or cause denial of service by injecting crafted input into metadata filter keys or values, which are improperly concatenated into SQL queries. This is only exploitable if untrusted or attacker-controlled metadata filter keys are allowed to reach the affected stores.

    How to fix SQL Injection?

    Upgrade dev.langchain4j:langchain4j-pgvector to version 1.2.1-beta8, 1.5.1-beta11, 1.11.8-beta19, 1.16.3-beta26 or higher.

    [1.2.0-beta8,1.2.1-beta8)[1.3.0-beta9,1.5.1-beta11)[1.6.0-beta12,1.11.8-beta19)[1.12.1-beta21,1.16.3-beta26)