Description
In RedisFilterExpressionConverter of spring-ai-redis-store, when a user-controlled string is passed as a filter value for a TAG field, stringValue() inserts the value directly into the @field:{VALUE} RediSearch TAG block without escaping characters.This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring AI | 1.0.0 – < 1.0.5, 1.1.0 – < 1.1.4 | 1.0.5 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.ai:spring-ai-redis-store | >= 1.0.0-M5, < 1.0.5 | 1.0.5 | GHSA-44f4-gvwj-6qg3 |
| Maven | org.springframework.ai:spring-ai-redis-store | >= 1.1.0-M1, < 1.1.4 | 1.1.4 | GHSA-44f4-gvwj-6qg3 |