{"answers":{"affected":"6 open source packages ship an affected version, including org.springframework:spring-web.","exploited":"There is no known exploitation of CVE-2025-41234 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-web to a fixed version for your release line: 6.1.21 or 6.2.8.","what":"CVE-2025-41234 is a medium-severity vulnerability in VMware Spring Framework, published on 12 Jun 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-41234 and fix it if it is affected.\n\nWhat it is: CVE-2025-41234 is a medium-severity vulnerability in VMware Spring Framework, published on 12 Jun 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-41234 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-web (Maven): affected from 6.0.5 up to 6.0.23; no fix listed\n- org.springframework:spring-web (Maven): affected from 6.0.5 up to 6.0.23; no fix listed\n- org.springframework:spring-web (Maven): affected from 6.1.0; fixed in 6.1.21\n- org.springframework:spring-web (Maven): affected from 6.1.0; fixed in 6.1.21\n- org.springframework:spring-web (Maven): affected from 6.2.0; fixed in 6.2.8\n- org.springframework:spring-web (Maven): affected from 6.2.0; fixed in 6.2.8\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-2025-41234/ (Markdown: https://insights.sbomify.com/CVE-2025-41234/index.md)","id":"CVE-2025-41234","markdown":"https://insights.sbomify.com/CVE-2025-41234/index.md","name":"CVE-2025-41234","record":{"aliases":["CLEANSTART-2026-FD72989","CLSA-2025-1754870569","ECHO-1c28-2269-e112","GHSA-6r3c-xf4w-jxjm","MINI-2562-h5j3-8j7p","MINI-3vxq-222r-9c34","MINI-69p5-8cxp-vfgv","MINI-f94q-rr3c-hfgm","MINI-wx7m-4vxv-5f9g","ROOT-APP-MAVEN-CVE-2025-41234","UBUNTU-CVE-2025-41234"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Java web framework","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary code via reflected file download if applications use unsanitized user input for Content-Disposition filenames with non-ASCII charsets.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"vmware","cpe":[],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"description":"Description\n\nIn Spring Framework, versions 6.0.x as of 6.0.5, versions 6.1.x and 6.2.x, an application is vulnerable to a reflected file download (RFD) attack when it sets a “Content-Disposition” header with a non-ASCII charset, where the filename attribute is derived from user-supplied input.\n\nSpecifically, an application is vulnerable when all the following are true:\n\n  *  The header is prepared with org.springframework.http.ContentDisposition.\n  *  The filename is set via ContentDisposition.Builder#filename(String, Charset).\n  *  The value for the filename is derived from user-supplied input.\n  *  The application does not sanitize the user-supplied input.\n  *  The downloaded content of the response is injected with malicious commands by the attacker (see RFD paper reference for details).\n\nAn application is not vulnerable if any of the following is true:\n\n  *  The application does not set a “Content-Disposition” response header.\n  *  The header is not prepared with org.springframework.http.ContentDisposition.\n  *  The filename is set via one of:  *  ContentDisposition.Builder#filename(String), or\n  *  ContentDisposition.Builder#filename(String, ASCII)\n\n  *  The filename is not derived from user-supplied input.\n  *  The filename is derived from user-supplied input but sanitized by the application.\n  *  The attacker cannot inject malicious content in the downloaded content of the response.\n\nAffected Spring Products and VersionsSpring Framework:\n\n  *  6.2.0 - 6.2.7\n  *  6.1.0 - 6.1.20\n  *  6.0.5 - 6.0.28\n  *  Older, unsupported versions are not affected\n\nMitigationUsers of affected versions should upgrade to the corresponding fixed version.\n\nAffected version(s)Fix versionAvailability6.2.x6.2.8OSS6.1.x6.1.21OSS6.0.x6.0.29 Commercial https://enterprise.spring.io/ No further mitigation steps are necessary.\n\nCWE-113 in `Content-Disposition` handling in VMware Spring Framework versions 6.0.5 to 6.2.7 allows remote attackers to launch Reflected File Download (RFD) attacks via unsanitized user input in `ContentDisposition.Builder#filename(String, Charset)` with non-ASCII charsets.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"RFD Attack via “Content-Disposition” Header Sourced from Request","id":"CVE-2025-41234","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"other","year":"2025"},"n_packages":6,"n_references":3,"next":{"headline":"CVE-2025-41235: Spring Cloud Gateway Server Forwards Headers from Untrusted Proxies","id":"CVE-2025-41235"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["6.0.5"],"last_affected":["6.0.23"],"package":"org.springframework:spring-web","purl":null,"source":"GHSA-6r3c-xf4w-jxjm"},{"ecosystem":"Maven","fixed":[],"introduced":["6.0.5"],"last_affected":["6.0.23"],"package":"org.springframework:spring-web","purl":"pkg:maven/org.springframework/spring-web","source":"GHSA-6r3c-xf4w-jxjm"},{"ecosystem":"Maven","fixed":["6.1.21"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework:spring-web","purl":null,"source":"GHSA-6r3c-xf4w-jxjm"},{"ecosystem":"Maven","fixed":["6.1.21"],"introduced":["6.1.0"],"last_affected":[],"package":"org.springframework:spring-web","purl":"pkg:maven/org.springframework/spring-web","source":"GHSA-6r3c-xf4w-jxjm"},{"ecosystem":"Maven","fixed":["6.2.8"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-web","purl":null,"source":"GHSA-6r3c-xf4w-jxjm"},{"ecosystem":"Maven","fixed":["6.2.8"],"introduced":["6.2.0"],"last_affected":[],"package":"org.springframework:spring-web","purl":"pkg:maven/org.springframework/spring-web","source":"GHSA-6r3c-xf4w-jxjm"}],"prev":{"headline":"SQL injection in Avi Load Balancer","id":"CVE-2025-41233"},"products":["Spring Framework"],"published":"2025-06-12","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)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-06-13","vendors":["VMware"]},"summary":"Attackers can execute arbitrary code via reflected file download if applications use unsanitized user input for Content-Disposition filenames with non-ASCII charsets.","url":"https://insights.sbomify.com/CVE-2025-41234/"}