{"answers":{"affected":"4 open source packages ship an affected version, including org.springframework:spring-webflux and org.springframework:spring-webmvc. It affects 27 products.","exploited":"There is no known exploitation of CVE-2020-5397 in the wild and no public exploit code.","fix":"Upgrade org.springframework:spring-webflux to 5.2.3 or later.","what":"CVE-2020-5397 is a medium-severity vulnerability in Oracle Application Testing Suite, published on 17 Jan 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5397 and fix it if it is affected.\n\nWhat it is: CVE-2020-5397 is a medium-severity vulnerability in Oracle Application Testing Suite, published on 17 Jan 2020. 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-2020-5397 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework:spring-webflux (Maven): affected from 5.2.0; fixed in 5.2.3\n- org.springframework:spring-webflux (Maven): affected from 5.2.0; fixed in 5.2.3\n- org.springframework:spring-webmvc (Maven): affected from 5.2.0; fixed in 5.2.3\n- org.springframework:spring-webmvc (Maven): affected from 5.2.0; fixed in 5.2.3\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-5397/ (Markdown: https://insights.sbomify.com/CVE-2020-5397/index.md)","id":"CVE-2020-5397","markdown":"https://insights.sbomify.com/CVE-2020-5397/index.md","name":"CVE-2020-5397","record":{"aliases":["GHSA-7pm4-g2qj-j85x","UBUNTU-CVE-2020-5397"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Framework","requires_auth":"none","summary":"Attackers can bypass CSRF protections on non-authenticated Spring MVC or WebFlux endpoints using CORS preflight requests in Chrome with client certificates.","user_interaction":"not_required","vuln_class":"csrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"pivotal","cpe":[{"product":"application_testing_suite","vendor":"oracle"},{"product":"communications_brm_-_elastic_charging_engine","vendor":"oracle"},{"product":"communications_diameter_signaling_router","vendor":"oracle"},{"product":"communications_element_manager","vendor":"oracle"},{"product":"communications_policy_management","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_enterprise_monitor","vendor":"oracle"},{"product":"rapid_planning","vendor":"oracle"},{"product":"retail_assortment_planning","vendor":"oracle"},{"product":"retail_back_office","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":"weblogic_server","vendor":"oracle"},{"product":"spring_framework","vendor":"vmware"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"description":"Spring Framework, versions 5.2.x prior to 5.2.3 are vulnerable to CSRF attacks through CORS preflight requests that target Spring MVC (spring-webmvc module) or Spring WebFlux (spring-webflux module) endpoints. Only non-authenticated endpoints are vulnerable because preflight requests should not include credentials and therefore requests should fail authentication. However a notable exception to this are Chrome based browsers when using client certificates for authentication since Chrome sends TLS client certificates in CORS preflight requests in violation of spec requirements. No HTTP body can be sent or received as a result of this attack.","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":"CSRF Attack via CORS Preflight Requests with Spring MVC or Spring WebFlux","id":"CVE-2020-5397","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:application_testing_suite","products":["oracle:application_testing_suite","oracle:communications_diameter_signaling_router","oracle:communications_element_manager","oracle:communications_policy_management","oracle:communications_session_route_manager","oracle:enterprise_manager_base_platform","oracle:flexcube_private_banking","oracle:mysql_enterprise_monitor","oracle:weblogic_server","vmware:spring_framework"],"type":"csrf","year":"2020"},"n_packages":4,"n_references":7,"next":{"headline":"RFD Attack via \"Content-Disposition\" Header Sourced from Request Input by Spring MVC or Spring WebFlux Application","id":"CVE-2020-5398"},"packages":[{"ecosystem":"Maven","fixed":["5.2.3"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":null,"source":"GHSA-7pm4-g2qj-j85x"},{"ecosystem":"Maven","fixed":["5.2.3"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework:spring-webflux","purl":"pkg:maven/org.springframework/spring-webflux","source":"GHSA-7pm4-g2qj-j85x"},{"ecosystem":"Maven","fixed":["5.2.3"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":null,"source":"GHSA-7pm4-g2qj-j85x"},{"ecosystem":"Maven","fixed":["5.2.3"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework:spring-webmvc","purl":"pkg:maven/org.springframework/spring-webmvc","source":"GHSA-7pm4-g2qj-j85x"}],"prev":{"headline":"JMX Insecure Default Configuration in GemFire","id":"CVE-2020-5396"},"products":["Spring Framework"],"published":"2020-01-17","related":[{"cvss_score":9.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-35290","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":9.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-46876","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":9.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-46924","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":9.8,"headline":"Auth bypass in Enterprise Repository","id":"CVE-2019-2904","kev_date_added":null,"published":"2019-10-16"},{"cvss_score":9.8,"headline":"Spring Framework has Improperly Implemented Security Check for Standard","id":"CVE-2018-1275","kev_date_added":null,"published":"2018-04-11"},{"cvss_score":9.1,"headline":"Missing authorization in Oracle Application Testing Suite","id":"CVE-2026-70862","kev_date_added":null,"published":"2026-08-18"},{"cvss_score":8.8,"headline":"Auth bypass in Oracle Application Testing Suite","id":"CVE-2026-70863","kev_date_added":null,"published":"2026-08-18"}],"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Spring"]},"summary":"Attackers can bypass CSRF protections on non-authenticated Spring MVC or WebFlux endpoints using CORS preflight requests in Chrome with client certificates.","url":"https://insights.sbomify.com/CVE-2020-5397/"}