{"answers":{"affected":"12 open source packages ship an affected version, including org.springframework:spring-webflux and org.springframework:spring-webmvc.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38819 exists.","fix":"Upgrade org.springframework:spring-webflux to 6.1.14 or later.","what":"CVE-2024-38819 is a high-severity path traversal vulnerability in Spring Framework, published on 19 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-38819 and fix it if it is affected.\n\nWhat it is: CVE-2024-38819 is a high-severity path traversal vulnerability in Spring Framework, published on 19 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38819 exists.\n\nAffected packages and fixed versions:\n- org.springframework:spring-webflux (Maven): affected all versions up to 5.3.40; no fix listed\n- org.springframework:spring-webflux (Maven): affected all versions up to 5.3.40; no fix listed\n- org.springframework:spring-webflux (Maven): affected from 6.0.0 up to 6.0.24; no fix listed\n- org.springframework:spring-webflux (Maven): affected from 6.0.0 up to 6.0.24; no fix listed\n- org.springframework:spring-webflux (Maven): affected from 6.1.0; fixed in 6.1.14\n- org.springframework:spring-webflux (Maven): affected from 6.1.0; fixed in 6.1.14\n- org.springframework:spring-webmvc (Maven): affected all versions up to 5.3.40; no fix listed\n- org.springframework:spring-webmvc (Maven): affected all versions up to 5.3.40; no fix listed\n- org.springframework:spring-webmvc (Maven): affected from 6.0.0 up to 6.0.24; no fix listed\n- org.springframework:spring-webmvc (Maven): affected from 6.0.0 up to 6.0.24; no fix listed\n- org.springframework:spring-webmvc (Maven): affected from 6.1.0; fixed in 6.1.14\n- org.springframework:spring-webmvc (Maven): affected from 6.1.0; fixed in 6.1.14\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-38819/ (Markdown: https://insights.sbomify.com/CVE-2024-38819/index.md)","id":"CVE-2024-38819","markdown":"https://insights.sbomify.com/CVE-2024-38819/index.md","name":"CVE-2024-38819","record":{"aliases":["CLEANSTART-2026-TE96968","CLSA-2025-1742342444","DEBIAN-CVE-2024-38819","ECHO-9581-aff6-f7db","GHSA-g5vr-rgqm-vf78","ROOT-APP-MAVEN-CVE-2024-38819","UBUNTU-CVE-2024-38819"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Framework","requires_auth":"none","summary":"Attackers can read arbitrary files on the server via path traversal in Spring functional web frameworks, exposing sensitive data.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2024-12-14","github_poc":5,"max_poc_stars":39,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-12-14T09:22:33Z","kind":"github_poc","ref":"https://github.com/masa42/CVE-2024-38819-POC","stars":39,"title":null},{"date":"2024-12-16T08:48:12Z","kind":"github_poc","ref":"https://github.com/GhostS3c/CVE-2024-38819","stars":3,"title":"CVE-2024-38819 nuclei template"},{"date":"2025-06-25T06:59:08Z","kind":"github_poc","ref":"https://github.com/vishalnoza/CVE-2024-38819-POC2","stars":1,"title":null},{"date":"2025-02-07T02:16:20Z","kind":"github_poc","ref":"https://github.com/skrkcb2/cve-2024-38819","stars":0,"title":null},{"date":"2026-06-17T14:11:52Z","kind":"github_poc","ref":"https://github.com/trevorputbrese/cve-2024-38819-lab","stars":0,"title":null},{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-38819.yaml","stars":null,"title":"Spring Framework Path Traversal in Functional Web Frameworks"}],"tier":"weaponised"},"has_fix":true,"headline":"Spring Framework Path Traversal vulnerability","id":"CVE-2024-38819","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":12,"n_references":1,"next":{"headline":"CVE-2024-38820: Spring Framework DataBinder Case Sensitive Match Exception","id":"CVE-2024-38820"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.40"],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.40"],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.0"],"last_affected":["6.0.24"],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.0"],"last_affected":["6.0.24"],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":["6.1.14"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":["6.1.14"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.40"],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["5.3.40"],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.0"],"last_affected":["6.0.24"],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.0"],"last_affected":["6.0.24"],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":["6.1.14"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-g5vr-rgqm-vf78"},{"ecosystem":"Maven","fixed":["6.1.14"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-g5vr-rgqm-vf78"}],"prev":{"headline":"Privilege escalation in VMware NSX, VMware Cloud Foundation","id":"CVE-2024-38818"},"products":["Spring Framework"],"published":"2024-12-19","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-10","vendors":["N/A"]},"summary":"Attackers can read arbitrary files on the server via path traversal in Spring functional web frameworks, exposing sensitive data.","url":"https://insights.sbomify.com/CVE-2024-38819/"}