Arbitrary File Write via Path Traversal in ResourceCacheService
Spring AI
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Spring Spring AI |
| No fix yet |
Original description
ResourceCacheService.getCacheName() builds the on-disk filename by appending the URI fragment verbatim, without stripping path separators or .. sequences, and passes the result to new File(resourceParentFolder, newFileName) before writing the downloaded bytes there. Spring AI 2.0.0 Spring AI 1.1.0 - 1.1.8 Spring AI 1.0.9 and earlier
From the CVE record · vmware