GitHub Advisory Database
GHSA-q62f-h9x2-gcqc
Spring AI: ChatMemory DEFAULT_CONVERSATION_ID causes unintended cross-user data leakage
Details
Spring AI's chat memory component contained a problematic default that, when not explicitly overridden, could result in unintended data exposure between users.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.ai:spring-ai-client-chat | All versions before 1.0.7 (fixed in 1.0.7) |
| Maven | org.springframework.ai:spring-ai-client-chat | From 1.1.0-M1 before 1.1.6 (fixed in 1.1.6) |
| Maven | org.springframework.ai:spring-ai-client-chat | From 2.0.0-M1 before 2.0.0-M6 (fixed in 2.0.0-M6) |
| Maven | org.springframework.ai:spring-ai-model | All versions before 1.0.7 (fixed in 1.0.7) |
| Maven | org.springframework.ai:spring-ai-model | From 1.1.0-M1 before 1.1.6 (fixed in 1.1.6) |
| Maven | org.springframework.ai:spring-ai-model | From 2.0.0-M1 before 2.0.0-M6 (fixed in 2.0.0-M6) |
| Maven | org.springframework.ai:spring-ai-advisors-vector-store | All versions before 1.0.7 (fixed in 1.0.7) |
| Maven | org.springframework.ai:spring-ai-advisors-vector-store | From 1.1.0-M1 before 1.1.6 (fixed in 1.1.6) |
| Maven | org.springframework.ai:spring-ai-advisors-vector-store | From 2.0.0-M1 before 2.0.0-M6 (fixed in 2.0.0-M6) |