Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreApplications using spring-ai-bedrock-converse to build multi-modal chat requests for Amazon Bedrock are vulnerable to a Server-Side Request Forgery (SSRF)
attack via media URLs. This is due to an incomplete blocklist in URLValidator.isBlockedAddress(InetAddress), the shared predicate used by every SSRF
defense layer in the media-fetching path. The predicate relies only on the JDK's loopback, link-local, site-local, and any-local checks and does not
recognize several non-globally-reachable address ranges, allowing a specially crafted media URL to reach internal network destinations that should be blocked.
Spring AI:
| Fix version | Availability |
|---|---|
| 2.0.3 | OSS |
| 2.0.2.1 | Enterprise Support Only |
| 1.1.10 | Enterprise Support Only |
| 1.0.11 | Enterprise Support Only |
No further mitigation steps are necessary.
The issue was discovered internally and independently reported by:
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy