GHSA-ggg2-9786-hwc8
Spring Boot: Predictable Temp Directory in Artemis Auto-configuration
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.boot:spring-boot-autoconfigure | >= 4.0.0, < 4.0.7 | 4.0.7 |
| Maven | org.springframework.boot:spring-boot-autoconfigure | >= 3.5.0, < 3.5.15 | 3.5.15 |
| Maven | org.springframework.boot:spring-boot-autoconfigure | >= 3.4.0, <= 3.4.16 | no fix listed |
| Maven | org.springframework.boot:spring-boot-autoconfigure | >= 3.3.0, <= 3.3.19 | no fix listed |
| Maven | org.springframework.boot:spring-boot-autoconfigure | >= 2.7.0, <= 2.7.33 | no fix listed |
Details
As written in the advisory (Markdown source, shown as plain text).
Spring Boot's ArtemisEmbeddedConfigurationFactory uses a fixed, static path for the embedded Artemis message broker's data directory when no explicit path is configured. A local attacker on the same host can pre-create this predictable directory or place a symlink before the application starts.
Affected versions:
Spring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16; 3.3.0 through 3.3.19; 2.7.0 through 2.7.33.
References
External links from the advisory. They lead to third-party sites.