Spring Boot server Web Observations DoS Vulnerability

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

Description

In Spring Boot, 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
  • org.springframework.boot:spring-boot-actuator is on the classpath

Affected Spring Products and Versions

Spring Boot:

  • 3.1.0 - 3.1.5
  • 3.0.0 - 3.0.12
  • 2.7.17 and earlier

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
3.1.6OSS
3.0.13OSS
2.7.18OSS

No other steps are necessary.

As a temporary workaround, Spring Boot users can choose to disable web metrics with the following property: management.metrics.enable.http.server.requests=false

Credit

The issue was identified and responsibly reported by James Yuzawa.

History

  • 2023-11-27: Initial vulnerability report published.

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