cve.bz

CVE-2024-38819 Path traversal

7.5 highEPSS 56%Fix available

High (7.5). EPSS 56% estimated probability of exploitation activity in the next 30 days. Fixed in org.springframework:spring-webflux 6.1.14.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
56% (unchanged from 56% a week ago; 56% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-12-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-22 Improper Limitation of a Pathname to a Restricted Directory (Path traversal)
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • org.springframework:spring-webflux (Maven): fixed in 6.1.14
  • org.springframework:spring-webmvc (Maven): fixed in 6.1.14

Ask an AI about this CVE

Show the promptExplain CVE-2024-38819 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-38819?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-38819?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-38819 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g5vr-rgqm-vf78Mavenorg.springframework:spring-webflux>=6.1.0 <6.1.146.1.14
GHSA-g5vr-rgqm-vf78Mavenorg.springframework:spring-webmvc>=6.1.0 <6.1.146.1.14
GHSA-g5vr-rgqm-vf78Mavenorg.springframework:spring-webflux<=5.3.40no fix published
GHSA-g5vr-rgqm-vf78Mavenorg.springframework:spring-webmvc<=5.3.40no fix published
GHSA-g5vr-rgqm-vf78Mavenorg.springframework:spring-webflux>=6.0.0 <=6.0.24no fix published
GHSA-g5vr-rgqm-vf78Mavenorg.springframework:spring-webmvc>=6.0.0 <=6.0.24no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libspring-javano fix listedDEBIAN-CVE-2024-38819
Ubuntu25.10, 26.04:LTS, 26.10 and 6 morelibspring-javano fix listedUBUNTU-CVE-2024-38819

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This vulnerability is of important severity because it enables path traversal attacks that allow unauthorized access to arbitrary files on the server. Exploiting this flaw could expose sensitive information such as application configuration files, authentication credentials, or environment secrets, potentially compromising the entire system. Moreover, if the application process has elevated privileges, an attacker could access system files or even gain further control over the server.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.8 for Spring Bootspring-webmvcFixed 2024-12-02RHSA-2024:10700
A-MQ Clients 2spring-webmvcNot affected
Red Hat AMQ Broker 7spring-webmvcWill not fix
Red Hat build of Apache Camel - HawtIO 4spring-webmvcNot affected
Red Hat Build of Keycloakspring-webmvcWill not fix
Red Hat build of OptaPlanner 8spring-webmvcWill not fix
Red Hat Data Grid 8spring-webmvcAffected
Red Hat Fuse 7spring-webmvcWill not fix
Red Hat Integration Camel K 1spring-webmvcAffected
Red Hat JBoss Data Grid 7spring-webmvcNot affected
Red Hat JBoss Enterprise Application Platform 7spring-webmvcNot affected
Red Hat JBoss Enterprise Application Platform 8spring-webmvcNot affected
Red Hat JBoss Enterprise Application Platform Expansion Packspring-webmvcNot affected
Red Hat Process Automation 7spring-webmvcWill not fix
Red Hat Single Sign-On 7spring-webmvcNot affected
streams for Apache Kafkaspring-webmvcNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-38819.

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic Likelihood: High · Severity: High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-78 Using Escaped Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-79 Using Slashes in Alternate Encoding Likelihood: High · Severity: High
  • CAPEC-126 Path Traversal Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON