Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.cloud/spring-cloud-contract-shade
  4. ›
  5. CVE-2024-22236

CVE-2024-22236: Spring Cloud Contract vulnerable to local information disclosure

January 31, 2024

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

  • github.com/advisories/GHSA-p6rp-mx85-m459
  • nvd.nist.gov/vuln/detail/CVE-2024-22236
  • spring.io/security/cve-2024-22236

Code Behaviors & Features

Detect and mitigate CVE-2024-22236 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

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

Fixed versions

  • 4.0.5
  • 4.1.1
  • 3.1.10

Solution

Upgrade to versions 4.0.5, 4.1.1, 3.1.10 or above.

Impact 5.5 MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Source file

maven/org.springframework.cloud/spring-cloud-contract-shade/CVE-2024-22236.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:24 +0000.