org.springframework.ai:spring-ai-vector-store@1.0.4

  • latest version

    1.1.6

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    13 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
    Improper Neutralization of Special Elements in Data Query Logic

    Affected versions of this package are vulnerable to Improper Neutralization of Special Elements in Data Query Logic via the FilterExpressionConverter implementations. An attacker can alter underlying vector store queries by supplying crafted filter expressions, as keys and values are not properly escaped during translation to backend query languages.

    How to fix Improper Neutralization of Special Elements in Data Query Logic?

    Upgrade org.springframework.ai:spring-ai-vector-store to version 1.0.6, 1.1.5 or higher.

    [,1.0.6)[1.1.0-M1,1.1.5)
    • C
    Arbitrary Code Injection

    Affected versions of this package are vulnerable to Arbitrary Code Injection in the SimpleVectorStore function when unescaped user-supplied input is used as a filter expression key. An attacker can execute arbitrary code by supplying crafted input that is evaluated by the expression engine.

    Note:

    This is only exploitable if the application uses SimpleVectorStore and passes user-supplied input as a filter expression key.

    How to fix Arbitrary Code Injection?

    Upgrade org.springframework.ai:spring-ai-vector-store to version 1.0.5, 1.1.4 or higher.

    [,1.0.5)[1.1.0-M1,1.1.4)