GHSA-p6rp-mx85-m459
Spring Cloud Contract vulnerable to local information disclosure
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Maven | org.springframework.cloud:spring-cloud-contract-shade | >= 4.1.0, < 4.1.1 | 4.1.1 |
| Maven | org.springframework.cloud:spring-cloud-contract-shade | >= 4.0.0, < 4.0.5 | 4.0.5 |
| Maven | org.springframework.cloud:spring-cloud-contract-shade | >= 3.1.0, < 3.1.10 | 3.1.10 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.