VDB
KO
HIGH 8.6

GHSA-cmwh-w62w-r2mf

Spring AI vector store metadata filtering to handle special characters in Elasticsearch, OpenSearch, and GemFire Vector Stores

Quick fix

GHSA-cmwh-w62w-r2mf — org.springframework.ai:spring-ai-opensearch-store: upgrade to the fixed version with the command below.

# pom.xml: bump <version>1.0.9</version> for org.springframework.ai:spring-ai-opensearch-store

Details

In Spring AI Vector Stores, special characters could be used to force the execution of arbitrary queries in Elasticsearch, OpenSearch, and GemFire VectorDB. Affected components: spring-ai-elasticsearch-store, spring-ai-opensearch-store, spring-ai-gemfire-store.

Affected versions: Spring AI 1.0.0 through 1.0.x (fix 1.0.9). Spring AI 1.1.0 through 1.1.x (fix 1.1.8).

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven / org.springframework.ai:spring-ai-opensearch-store
Introduced in: 1.0.0 Fixed in: 1.0.9
Fix # pom.xml: bump <version>1.0.9</version> for org.springframework.ai:spring-ai-opensearch-store
Maven / org.springframework.ai:spring-ai-opensearch-store
Introduced in: 1.1.0 Fixed in: 1.1.8
Fix # pom.xml: bump <version>1.1.8</version> for org.springframework.ai:spring-ai-opensearch-store
Maven / org.springframework.ai:spring-ai-elasticsearch-store
Introduced in: 1.0.0 Fixed in: 1.0.9
Fix # pom.xml: bump <version>1.0.9</version> for org.springframework.ai:spring-ai-elasticsearch-store
Maven / org.springframework.ai:spring-ai-elasticsearch-store
Introduced in: 1.1.0 Fixed in: 1.1.8
Fix # pom.xml: bump <version>1.1.8</version> for org.springframework.ai:spring-ai-elasticsearch-store
Maven / org.springframework.ai:spring-ai-gemfire-store
Introduced in: 1.0.0 Fixed in: 1.0.9
Fix # pom.xml: bump <version>1.0.9</version> for org.springframework.ai:spring-ai-gemfire-store
Maven / org.springframework.ai:spring-ai-gemfire-store
Introduced in: 1.1.0 Fixed in: 1.1.8
Fix # pom.xml: bump <version>1.1.8</version> for org.springframework.ai:spring-ai-gemfire-store

References