{"answers":{"affected":"2 open source packages ship an affected version, including org.springframework:spring-webmvc.","exploited":"There is no known exploitation of CVE-2024-38828 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-webmvc to 5.3.42 or later.","what":"CVE-2024-38828 is a medium-severity denial of service vulnerability in Spring, published on 18 Nov 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-38828 and fix it if it is affected.\n\nWhat it is: CVE-2024-38828 is a medium-severity denial of service vulnerability in Spring, published on 18 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-38828 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-webmvc (Maven): affected from 5.3.0; fixed in 5.3.42\n- org.springframework:spring-webmvc (Maven): affected from 5.3.0; fixed in 5.3.42\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-38828/ (Markdown: https://insights.sbomify.com/CVE-2024-38828/index.md)","id":"CVE-2024-38828","markdown":"https://insights.sbomify.com/CVE-2024-38828/index.md","name":"CVE-2024-38828","record":{"aliases":["CLEANSTART-2026-NS04003","CLEANSTART-2026-UO20000","CLSA-2025-1743120048","CLSA-2026-1782954026","DEBIAN-CVE-2024-38828","ECHO-3f20-b6da-0d15","GHSA-w3c8-7r8f-9jp8","ROOT-APP-MAVEN-CVE-2024-38828","UBUNTU-CVE-2024-38828"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring MVC library","requires_auth":"none","summary":"Attackers can cause denial of service in applications using Spring MVC controllers with byte array request bodies.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Spring MVC controller methods with an @RequestBody byte[] method parameter are vulnerable to a DoS attack.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2025-04-14","github_poc":3,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2025-04-14T22:36:00Z","kind":"github_poc","ref":"https://github.com/First-Roman/sprig-mvc-demo-patch","stars":0,"title":"This demo application partially covers the vulnerability CVE-2024-38828"},{"date":"2025-04-21T15:49:39Z","kind":"github_poc","ref":"https://github.com/topilov/axiom-jdk-test-task","stars":0,"title":"CVE-2024-38828: DoS via Spring MVC controller method with byte[] parameter "},{"date":"2025-04-22T18:07:35Z","kind":"github_poc","ref":"https://github.com/funcid/CVE-2024-38828","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"CVE-2024-38828: DoS via Spring MVC controller method with byte[] parameter","id":"CVE-2024-38828","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"Spring LDAP sensitive data exposure for case-sensitive comparisons","id":"CVE-2024-38829"},"packages":[{"ecosystem":"Maven","fixed":["5.3.42"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-w3c8-7r8f-9jp8"},{"ecosystem":"Maven","fixed":["5.3.42"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-w3c8-7r8f-9jp8"}],"prev":{"headline":"Spring Security Authorization Bypass for Case Sensitive Comparisons","id":"CVE-2024-38827"},"products":["Spring"],"published":"2024-11-18","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":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-05-09","vendors":["Spring"]},"summary":"Attackers can cause denial of service in applications using Spring MVC controllers with byte array request bodies.","url":"https://insights.sbomify.com/CVE-2024-38828/"}