org.springframework.ai:spring-ai-vector-store@2.0.0-M2

  • latest version

    1.1.6

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    12 days ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.ai:spring-ai-vector-store 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

    Affected versions of this package are vulnerable to SQL Injection due to the AbstractFilterExpressionConverter's handling of operator characters, such as || and &&. This allows authenticated users to bypass metadata-based access controls by supplying arbitrary JSONPath queries to access unintended documents. Applications using vector stores that extend AbstractFilterExpressionConverter for multi-tenant isolation, role-based access control, or document filtering based on metadata are vulnerable to this bypass.

    How to fix SQL Injection?

    Upgrade org.springframework.ai:spring-ai-vector-store to version 1.0.4, 1.1.3, 2.0.0-M3 or higher.

    [1.0.0-M5,1.0.4)[1.1.0-M1,1.1.3)[2.0.0-M1,2.0.0-M3)