GitHub Advisory Database
GHSA-p6rp-mx85-m459
Spring Cloud Contract vulnerable to local information disclosure
Details
In Spring Cloud Contract, versions 4.1.x prior to 4.1.1, versions 4.0.x prior to 4.0.5, and versions 3.1.x prior to 3.1.10, test execution is vulnerable to local information disclosure via temporary directory created with unsafe permissions through the shaded com.google.guava:guava dependency in the org.springframework.cloud:spring-cloud-contract-shade dependency.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-contract-shade | From 4.1.0 before 4.1.1 (fixed in 4.1.1) |
| Maven | org.springframework.cloud:spring-cloud-contract-shade | From 4.0.0 before 4.0.5 (fixed in 4.0.5) |
| Maven | org.springframework.cloud:spring-cloud-contract-shade | From 3.1.0 before 3.1.10 (fixed in 3.1.10) |