In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.springframework.ai:spring-ai-model-chat-memory-repository-redis to version 2.0.3 or higher.
Affected versions of this package are vulnerable to SQL Injection via the query-building process in RedisChatMemoryRepository when handling untrusted input. An attacker can retrieve or interfere with chat messages outside the intended conversation scope by injecting RediSearch query syntax through unescaped input values.