org.springframework.ai:spring-ai-azure-cosmos-db-store@1.1.2

  • latest version

    1.1.8

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    2 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.springframework.ai:spring-ai-azure-cosmos-db-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

    org.springframework.ai:spring-ai-azure-cosmos-db-store is a Spring AI Vector Store for Azure Cosmos DB

    Affected versions of this package are vulnerable to SQL Injection via document ID handling in CosmosDBVectorStore. An attacker can execute arbitrary SQL queries by supplying crafted document IDs, as user-controlled input is incorporated into Cosmos DB queries without proper sanitization or parameterization.

    How to fix SQL Injection?

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

    [,1.0.6)[1.1.0-M1,1.1.5)