Skip to content
OpenAdvisories
High · 7.5 Scanner template Public exploit CVE-2024-38819 EUVD-2024-3583GHSA-g5vr-rgqm-vf78

Spring Framework Path Traversal vulnerability

Published Dec 19, 2024 · Updated Jan 10, 2025 · Assigned by vmware

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.

Affected products

VendorProductAffectedFixed
— Spring Framework Spring Framework 5.3.0 - 5.3.40, 6.0.0 - 6.0.24, 6.1.0 - 6.1.13 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libspring-java No fix yet —
Debian 13 libspring-java No fix yet —
Debian 12 libspring-java No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 libspring-java No fix yet —
Ubuntu 26.04 LTS libspring-java No fix yet —
Ubuntu 25.10 libspring-java No fix yet —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libspring-java No fix yet —
Ubuntu Pro 22.04 LTS libspring-java No fix yet —
Ubuntu Pro 20.04 LTS libspring-java No fix yet —
Ubuntu Pro 18.04 LTS libspring-java No fix yet —
Ubuntu Pro 16.04 LTS libspring-java No fix yet —
Ubuntu Pro 14.04 LTS libspring-java No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 5 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.springframework:spring-webflux >= 6.1.0, < 6.1.14 6.1.14 GHSA-g5vr-rgqm-vf78
Maven org.springframework:spring-webflux <= 5.3.40 — GHSA-g5vr-rgqm-vf78
Maven org.springframework:spring-webflux >= 6.0.0, <= 6.0.24 — GHSA-g5vr-rgqm-vf78
Maven org.springframework:spring-webmvc >= 6.1.0, < 6.1.14 6.1.14 GHSA-g5vr-rgqm-vf78
Maven org.springframework:spring-webmvc <= 5.3.40 — GHSA-g5vr-rgqm-vf78
Maven org.springframework:spring-webmvc >= 6.0.0, <= 6.0.24 — GHSA-g5vr-rgqm-vf78

Advisories 31

References