GitHub Advisory Database
GHSA-g86w-v5vg-9gxf
Directory traversal attack in Spring Cloud Config
Details
Spring Cloud Config, versions 2.2.x prior to 2.2.2, versions 2.1.x prior to 2.1.7, 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 | From 2.1.0 before 2.1.7 (fixed in 2.1.7) |
| Maven | org.springframework.cloud:spring-cloud-config-server | From 2.2.0 before 2.2.2 (fixed in 2.2.2) |