{"answers":{"affected":"12 open source packages ship an affected version, including org.springframework:spring-webflux and org.springframework:spring-webmvc. It affects 33 products.","exploited":"There is no known exploitation of CVE-2020-5398 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-webflux to a fixed version for your release line: 5.0.16.RELEASE, 5.1.13.RELEASE or 5.2.3.RELEASE.","what":"CVE-2020-5398 is a high-severity vulnerability in Netapp Data Availability Services, published on 16 Jan 2020. 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-2020-5398 and fix it if it is affected.\n\nWhat it is: CVE-2020-5398 is a high-severity vulnerability in Netapp Data Availability Services, published on 16 Jan 2020. 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-2020-5398 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-webflux (Maven): affected from 5.0.0.RELEASE; fixed in 5.0.16.RELEASE\n- org.springframework:spring-webflux (Maven): affected from 5.0.0.RELEASE; fixed in 5.0.16.RELEASE\n- org.springframework:spring-webflux (Maven): affected from 5.1.0.RELEASE; fixed in 5.1.13.RELEASE\n- org.springframework:spring-webflux (Maven): affected from 5.1.0.RELEASE; fixed in 5.1.13.RELEASE\n- org.springframework:spring-webflux (Maven): affected from 5.2.0.RELEASE; fixed in 5.2.3.RELEASE\n- org.springframework:spring-webflux (Maven): affected from 5.2.0.RELEASE; fixed in 5.2.3.RELEASE\n- org.springframework:spring-webmvc (Maven): affected from 5.0.0.RELEASE; fixed in 5.0.16.RELEASE\n- org.springframework:spring-webmvc (Maven): affected from 5.0.0.RELEASE; fixed in 5.0.16.RELEASE\n- org.springframework:spring-webmvc (Maven): affected from 5.1.0.RELEASE; fixed in 5.1.13.RELEASE\n- org.springframework:spring-webmvc (Maven): affected from 5.1.0.RELEASE; fixed in 5.1.13.RELEASE\n- org.springframework:spring-webmvc (Maven): affected from 5.2.0.RELEASE; fixed in 5.2.3.RELEASE\n- org.springframework:spring-webmvc (Maven): affected from 5.2.0.RELEASE; fixed in 5.2.3.RELEASE\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-2020-5398/ (Markdown: https://insights.sbomify.com/CVE-2020-5398/index.md)","id":"CVE-2020-5398","markdown":"https://insights.sbomify.com/CVE-2020-5398/index.md","name":"CVE-2020-5398","record":{"aliases":["GHSA-8wx2-9q48-vm9r","UBUNTU-CVE-2020-5398"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java web framework","requires_auth":"low_privilege","summary":"Attackers can trigger reflected file downloads via unsanitized Content-Disposition headers, potentially leading to code execution or security bypasses in Spring applications.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"pivotal","cpe":[{"product":"data_availability_services","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"application_testing_suite","vendor":"oracle"},{"product":"communications_billing_and_revenue_management_elastic_charging_engine","vendor":"oracle"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_element_manager","vendor":"oracle"},{"product":"communications_policy_management","vendor":"oracle"},{"product":"communications_session_report_manager","vendor":"oracle"},{"product":"communications_session_route_manager","vendor":"oracle"},{"product":"enterprise_manager_base_platform","vendor":"oracle"},{"product":"financial_services_regulatory_reporting_with_agilereporter","vendor":"oracle"},{"product":"flexcube_private_banking","vendor":"oracle"},{"product":"healthcare_master_person_index","vendor":"oracle"},{"product":"insurance_calculation_engine","vendor":"oracle"},{"product":"insurance_policy_administration_j2ee","vendor":"oracle"},{"product":"insurance_rules_palette","vendor":"oracle"},{"product":"mysql","vendor":"oracle"},{"product":"rapid_planning","vendor":"oracle"},{"product":"retail_assortment_planning","vendor":"oracle"},{"product":"retail_back_office","vendor":"oracle"},{"product":"retail_bulk_data_integration","vendor":"oracle"},{"product":"retail_central_office","vendor":"oracle"},{"product":"retail_financial_integration","vendor":"oracle"},{"product":"retail_integration_bus","vendor":"oracle"},{"product":"retail_order_broker","vendor":"oracle"},{"product":"retail_point-of-service","vendor":"oracle"},{"product":"retail_predictive_application_server","vendor":"oracle"},{"product":"retail_returns_management","vendor":"oracle"},{"product":"retail_service_backbone","vendor":"oracle"},{"product":"siebel_engineering_-_installer_\\\u0026_deployment","vendor":"oracle"},{"product":"weblogic_server","vendor":"oracle"},{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-494","name":"Download of Code Without Integrity Check"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"In Spring Framework, versions 5.2.x prior to 5.2.3, versions 5.1.x prior to 5.1.13, and versions 5.0.x prior to 5.0.16, an application is vulnerable to a reflected file download (RFD) attack when it sets a \"Content-Disposition\" header in the response where the filename attribute is derived from user supplied input.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2020-01-17","github_poc":1,"max_poc_stars":84,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-01-17T05:35:01Z","kind":"github_poc","ref":"https://github.com/motikan2010/CVE-2020-5398","stars":84,"title":"CVE-2020-5398 - RFD(Reflected File Download) Attack for Spring MVC"}],"tier":"poc_unverified"},"has_fix":true,"headline":"RFD Attack via \"Content-Disposition\" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application","id":"CVE-2020-5398","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"netapp:data_availability_services","products":["netapp:data_availability_services","netapp:snapcenter","oracle:application_testing_suite","oracle:communications_cloud_native_core_policy","oracle:communications_diameter_signaling_router","oracle:communications_element_manager","oracle:communications_policy_management","oracle:communications_session_report_manager","oracle:communications_session_route_manager","oracle:enterprise_manager_base_platform","oracle:flexcube_private_banking","oracle:mysql","oracle:weblogic_server","vmware:spring_framework"],"type":"other","year":"2020"},"n_packages":12,"n_references":44,"next":{"headline":"CredHub does not properly enable TLS for MySQL database connections","id":"CVE-2020-5399"},"packages":[{"ecosystem":"Maven","fixed":["5.0.16.RELEASE"],"introduced":["5.0.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.0.16.RELEASE"],"introduced":["5.0.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.1.13.RELEASE"],"introduced":["5.1.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.1.13.RELEASE"],"introduced":["5.1.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.2.3.RELEASE"],"introduced":["5.2.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.2.3.RELEASE"],"introduced":["5.2.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.0.16.RELEASE"],"introduced":["5.0.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.0.16.RELEASE"],"introduced":["5.0.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.1.13.RELEASE"],"introduced":["5.1.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.1.13.RELEASE"],"introduced":["5.1.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.2.3.RELEASE"],"introduced":["5.2.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-8wx2-9q48-vm9r"},{"ecosystem":"Maven","fixed":["5.2.3.RELEASE"],"introduced":["5.2.0.RELEASE"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-8wx2-9q48-vm9r"}],"prev":{"headline":"CSRF Attack via CORS Preflight Requests with Spring MVC or Spring WebFlux","id":"CVE-2020-5397"},"products":["Spring Framework"],"published":"2020-01-16","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":"US public information, NVD API terms","name":"NVD"},{"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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-08","vendors":["Spring"]},"summary":"Attackers can trigger reflected file downloads via unsanitized Content-Disposition headers, potentially leading to code execution or security bypasses in Spring applications.","url":"https://insights.sbomify.com/CVE-2020-5398/"}