CVE-2024-22236: local information disclosure via temporary directory created with unsafe permissions

LOW | JANUARY 30, 2024 | CVE-2024-22236

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 Spring Products and Versions

  • Spring Cloud Contract
    • 4.1.0
    • 4.0.0 to 4.0.5
    • 3.1.0 to 3.1.10

Mitigation

Upgrade Spring Cloud Contract to 3.1.10 or 4.0.5 or 4.1.1.

Users of affected versions should apply the following mitigation. 4.1.x users should upgrade to 4.1.1. 4.0.x users should upgrade to 4.0.5. 3.1.x users should upgrade to 3.1.10. No other steps are necessary.  Releases that have fixed this issue include:

  • Spring Cloud Contract
    • 4.1.1
    • 4.0.5
    • 3.1.10

Credit

This issue was identified and responsibly reported by Michael Kimball from Oddball.

References

CVE-2024-22233: Spring Framework server Web DoS Vulnerability

HIGH | JANUARY 22, 2024 | CVE-2024-22233

Description

In Spring Framework versions 6.0.15 and 6.1.2, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition.

Specifically, an application is vulnerable when all of the following are true:

  • the application uses Spring MVC
  • Spring Security 6.1.6+ or 6.2.1+ is on the classpath

CVE-2023-34053: Spring Framework server Web Observations DoS Vulnerability

MEDIUM | NOVEMBER 27, 2023 | CVE-2023-34053

Description

In Spring Framework versions 6.0.0 - 6.0.13, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition.

Specifically, an application is vulnerable when all of the following are true:

  • the application uses Spring MVC or Spring WebFlux
  • io.micrometer:micrometer-core is on the classpath
  • an ObservationRegistry is configured in the application to record observations

CVE-2023-34054: Reactor Netty HTTP Server Metrics DoS Vulnerability

MEDIUM | NOVEMBER 27, 2023 | CVE-2023-34054

Description

In Reactor Netty HTTP Server, versions 1.1.x prior to 1.1.13 and versions 1.0.x prior to 1.0.39, it is possible for a user to provide specially crafted HTTP requests that may cause a denial-of-service (DoS) condition.

Specifically, an application…

CVE-2023-34062: Directory Traversal in Reactor Netty HTTP Server

HIGH | NOVEMBER 15, 2023 | CVE-2023-34062

Description

In Reactor Netty HTTP Server, versions 1.1.x prior to 1.1.13 and versions 1.0.x prior to 1.0.39, a malicious user can send a request using a specially crafted URL that can lead to a directory traversal attack.

Specifically, an application is…

CVE-2023-34050 Spring AMQP Deserialization Vulnerability

MEDIUM | OCTOBER 18, 2023 | CVE-2023-34050

Description

In 2016, allowed list patterns for deserializable class names were added to Spring AMQP, allowing users to lock down deserialization of data in messages from untrusted sources; however by default, when no allowed list was provided, all classes…

CVE-2023-34040: Java Deserialization vulnerability in Spring-Kafka When Improperly Configured

MEDIUM | AUGUST 23, 2023 | CVE-2023-34040

Description

In Spring for Apache Kafka 3.0.9 and earlier and versions 2.9.10 and earlier, a possible deserialization attack vector existed, but only if unusual configuration was applied. An attacker would have to construct a malicious serialized object in one of the deserialization exception record headers.

Specifically, an application is vulnerable when all of the following are true:

  • The user does not configure an ErrorHandlingDeserializer for the key and/or value of the record
  • The user explicitly sets container properties checkDeserExWhenKeyNull and/or checkDeserExWhenValueNull container properties to true.
  • The user allows untrusted sources to publish to a Kafka topic

By default, these properties are false, and the container only attempts to deserialize the headers if an ErrorHandlingDeserializer is configured. The ErrorHandlingDeserializer prevents the vulnerability by removing any such malicious headers…

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all