GHSA-qc4j-qjqx-vr58
Spring AI has a VectorStore FilterExpression Converter injection
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.ai:spring-ai-vector-store | >= 1.0.0, < 1.0.6 | 1.0.6 |
| Maven | org.springframework.ai:spring-ai-vector-store | >= 1.1.0, < 1.1.5 | 1.1.5 |
Details
As written in the advisory (Markdown source, shown as plain text).
In Spring AI, various FilterExpressionConverter implementations accept a filter expression object and translate them to specific vector store query languages. In several cases, keys and values are not properly escaped, leading to the ability to alter the query.
Affected versions:
Spring AI: 1.0.0 - 1.0.5 (fixed in 1.0.6), 1.1.0 - 1.1.4 (fixed in 1.1.5)
References
External links from the advisory. They lead to third-party sites.