Spring Cloud Contract vulnerable to local information disclosure
Spring Cloud Contract
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-contract-shade Maven |
|
|
Spring Cloud Contract
| Product | Affected | Fixed in |
|---|---|---|
| org.springframework.cloud:spring-cloud-contract-shade Maven |
|
|
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.
From the CVE record · vmware
During test execution, the shaded Guava dependency in Spring Cloud Contract creates a temporary directory with unsafe permissions. This can expose information to a local attacker.
Teams using the Maven package org.springframework.cloud:spring-cloud-contract-shade in versions 4.1.0 before 4.1.1, 4.0.0 before 4.0.5, or 3.1.0 before 3.1.10 should check their dependencies.