CVE-2024-38819: Spring Framework Path Traversal vulnerability

CVE-2024-38819 · Severity: high · CVSS 7.5 · Published 2024-12-19

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.

Technologies: org.springframework:spring-webflux (Maven), org.springframework:spring-webmvc (Maven). Vendors: Maven.

Quick answers

Is CVE-2024-38819 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-38819 being exploited in the wild.
How severe is CVE-2024-38819?
High severity, with a CVSS score of 7.5, published 19 December 2024.
Which products and versions are affected?
org.springframework:spring-webflux (Maven) ECOSYSTEM:introduced=6.1.0,fixed=6.1.14; org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=6.1.0,fixed=6.1.14.
Is there a fix for CVE-2024-38819?
Yes. org.springframework:spring-webflux (Maven): upgrade to 6.1.14 or later; org.springframework:spring-webmvc (Maven): upgrade to 6.1.14 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2024-38819?
Check whether you run org.springframework:spring-webflux (Maven) or org.springframework:spring-webmvc (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.springframework:spring-webflux (Maven): upgrade to 6.1.14 or later
    # set org.springframework:spring-webflux to 6.1.14 in your pom.xml or build.gradle
  • org.springframework:spring-webmvc (Maven): upgrade to 6.1.14 or later
    # set org.springframework:spring-webmvc to 6.1.14 in your pom.xml or build.gradle

Affected products

  • org.springframework:spring-webflux (Maven) ECOSYSTEM:introduced=6.1.0,fixed=6.1.14
  • org.springframework:spring-webmvc (Maven) ECOSYSTEM:introduced=6.1.0,fixed=6.1.14

Identifiers

  • CVE-2024-38819
  • GHSA-g5vr-rgqm-vf78

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.