ADVISORIES

GitHub Advisory Database

GHSA-mhrg-94vw-45c5

Spring AI: Insufficient Validation causes SSRF when processing multimodal messages with user-supplied URLs

Details

Spring AI's spring-ai-bedrock-converse contains a Server-Side Request Forgery (SSRF) vulnerability in BedrockProxyChatModel when processing multimodal messages that include user-supplied media URLs. Insufficient validation of those URLs allows an attacker to induce the server to issue HTTP requests to unintended internal or external destinations.

This issue affects Spring AI: from 1.0.0 before 1.0.5, from 1.1.0 before 1.1.4.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework.ai:spring-ai-bedrock-converse
From 1.0.0-M5 before 1.0.5 (fixed in 1.0.5)
Mavenorg.springframework.ai:spring-ai-bedrock-converse
From 1.1.0-M1 before 1.1.4 (fixed in 1.1.4)

References