GitHub Advisory Database
GHSA-4x49-w62v-76q7
Path Traversal in Spring Cloud Config
Details
Spring Cloud Config, versions 2.1.x prior to 2.1.2, versions 2.0.x prior to 2.0.4, and versions 1.4.x prior to 1.4.6, and older unsupported versions allow applications to serve arbitrary configuration files through the spring-cloud-config-server module. A malicious user, or attacker, can send a request using a specially crafted URL that can lead a directory traversal attack.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-config-server | All versions before 1.4.6 (fixed in 1.4.6) |
| Maven | org.springframework.cloud:spring-cloud-config-server | From 2.0.0 before 2.0.4 (fixed in 2.0.4) |
| Maven | org.springframework.cloud:spring-cloud-config-server | From 2.1.0 before 2.1.2 (fixed in 2.1.2) |