VDB

CVE-2024-38816

CVE-2024-38816 PUBLISHED CVSS 7.5 HIGH

CVE-2024-38816: Path traversal vulnerability in functional web frameworks

Reported by vmware · Published September 13, 2024

spring-webmvc is fixed in 6.1.13, 6.0.23 and 5.3.39 (Maven Central)

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. Specifically, an application is vulnerable when both of the following are true: * the web application uses RouterFunctions to serve static resources * resource handling is explicitly configured with a FileSystemResource location However, malicious requests are blocked and rejected when any of the following is true: * the Spring Security HTTP Firewall https://docs.spring.io/spring-security/reference/servlet/exploits/firewall.html is in use * the application runs on Tomcat or Jetty

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework:spring-webmvcMaven Central6.1.13, 6.0.23, 5.3.39
org.springframework:spring-webfluxMaven Central6.1.13, 6.0.23, 5.3.39
thingsboardChainguard3.8.1-r2
kayenta-fips-2025.4Chainguard2025.4.3-r7
kayenta-fips-2026.0Chainguard2026.0.2-r7
camunda-zeebeChainguard8.6.5-r0
kayenta-2026.0Chainguard2026.0.2-r6
thingsboardWolfi3.8.1-r2
kayenta-2025.4Chainguard2025.4.3-r7
spring_frameworkspring_by_vmware_tanzu6.1.13, 6.0.24, 5.3.40
Spring FrameworkSpring6.1.13, 6.0.24, 5.3.40

Risk scores

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

Affected products

VendorProductVersions
SpringSpring5.3.x, 6.0.x, 6.1.x
chainguardthingsboard0
chainguardkayenta-fips-2025.40
chainguardkayenta-fips-2026.00
chainguardcamunda-zeebe0
chainguardkayenta-2026.00
Mavenorg.springframework:spring-webmvc5.3.0, 6.0.0, 6.1.0
spring_by_vmware_tanzuspring_framework6.0.0, 6.1.0, 5.3.0
Mavenorg.springframework:spring-webflux6.0.0, 6.1.0, 5.3.0
wolfithingsboard0
chainguardkayenta-2025.40
SpringSpring5.3.x, 6.0.x, 6.1.x

Timeline

  • Sep 12, 2024 CVE Published
  • Sep 14, 2024 EPSS Score (30 in total, the first dated here)
  • Sep 27, 2024 PoC Published
  • Oct 4, 2024 Coalition ESS Score (27 in total, the first dated here)
  • Oct 22, 2024 VulnCheck KEV Exploitation (2 in total, the first dated here)
  • Oct 22, 2024 VulnCheck XDB Entry
  • Jun 10, 2025 CrowdSec Sighting (79 in total, the first dated here)
  • Jun 1, 2026 Security Advisory (8 in total, the first dated here)
  • Nov 16, 2026 Distribution Patch (7 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-38816
vulnetix vdb fixes CVE-2024-38816

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-38816/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›