CVE-2024-22236

Spring Cloud Contract vulnerable to local information disclosure in maven/org.springframework.cloud/spring-cloud-contract-shade

Identifiers

GHSA-p6rp-mx85-m459, CVE-2024-22236

Package Slug

maven/org.springframework.cloud/spring-cloud-contract-shade

Vulnerability

Spring Cloud Contract vulnerable to local information disclosure

Description

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 Versions

All versions starting from 3.1.0 before 3.1.10, all versions starting from 4.0.0 before 4.0.5, version 4.1.0

Solution

Upgrade to versions 4.0.5, 4.1.1, 3.1.10 or above.

Last Modified

2024-02-01

source