CVE-2024-22236

Information Exposure
Affects
Spring Cloud Contract
in
Spring
No items found.
Versions
>=3.1.0 <3.1.10, >=4.0.0 <4.0.5, =4.1.0
Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Spring Cloud Contract is an umbrella project within the Spring Cloud ecosystem that helps users implement the Consumer-Driven Contracts (CDC) approach for testing microservices.

An information exposure vulnerability (CVE-2024-22236) has been identified in Spring Cloud Contract where test execution is vulnerable to local information disclosure via temporary directory created with unsafe permissions.

This issue affects multiple versions of Spring Cloud Contract.

Details

Module Info

Vulnerability Info

This low-severity vulnerability 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.

Mitigation

Only recent versions of Spring Cloud Contract are community-supported. Only the recent community supported version will receive updates to address this issue. For more information, see here.

Users of the affected components should apply one of the following mitigations:

  • Upgrade affected applications to supported versions of Spring Framework
  • Leverage a commercial support partner like HeroDevs for post-EOL security support.

Credits

  • Michael Kimball (Oddball)
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
Low
ID
CVE-2024-22236
PROJECT Affected
Spring Cloud Contract
Versions Affected
>=3.1.0 <3.1.10, >=4.0.0 <4.0.5, =4.1.0
NES Versions Affected
Published date
March 24, 2026
≈ Fix date
January 1, 2024
Category
Information Exposure
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Spring
Rss feed icon
Subscribe via RSS
or

By clicking “submit” I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.