Spring Security Advisories

CVE-2024-38819: Path traversal vulnerability in functional web frameworks (2nd report)

HIGH | OCTOBER 17, 2024 | CVE-2024-38819

Description

Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks. An attacker can craft malicious HTTP requests and obtain any file on the file system that is also accessible to the process in which the Spring application is running.

This is similar to CVE-2024-38816, but with different input.

Affected Spring Products and Versions

Spring Framework:

  • 5.3.0 - 5.3.40
  • 6.0.0 - 6.0.24
  • 6.1.0 - 6.1.13
  • Older, unsupported versions are also affected

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Affected version(s)Fix versionAvailability
5.3.x5.3.41Enterprise Support Only
6.0.x6.0.25Enterprise Support Only
6.1.x6.1.14OSS

No further mitigation steps are necessary.

Credit

The issue was reported responsibly by Masato Anzai of Aeye Security Lab, Inc, and also by a second, anonymous reporter.

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