{"answers":{"affected":"8 open source packages ship an affected version, including org.springframework.integration:spring-integration-core. It affects 8 products.","exploited":"There is no known exploitation of CVE-2020-5413 in the wild and no public exploit code.","fix":"Upgrade org.springframework.integration:spring-integration-core to a fixed version for your release line: 4.3.23, 5.1.12, 5.2.8 or 5.3.2.","what":"CVE-2020-5413 is a critical unsafe deserialization vulnerability in Oracle Flexcube Private Banking, published on 31 Jul 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-5413 and fix it if it is affected.\n\nWhat it is: CVE-2020-5413 is a critical unsafe deserialization vulnerability in Oracle Flexcube Private Banking, published on 31 Jul 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-5413 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.integration:spring-integration-core (Maven): affected from 4.3.0; fixed in 4.3.23\n- org.springframework.integration:spring-integration-core (Maven): affected from 4.3.0; fixed in 4.3.23\n- org.springframework.integration:spring-integration-core (Maven): affected from 5.1.0; fixed in 5.1.12\n- org.springframework.integration:spring-integration-core (Maven): affected from 5.1.0; fixed in 5.1.12\n- org.springframework.integration:spring-integration-core (Maven): affected from 5.2.0; fixed in 5.2.8\n- org.springframework.integration:spring-integration-core (Maven): affected from 5.2.0; fixed in 5.2.8\n- org.springframework.integration:spring-integration-core (Maven): affected from 5.3.0; fixed in 5.3.2\n- org.springframework.integration:spring-integration-core (Maven): affected from 5.3.0; fixed in 5.3.2\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-5413/ (Markdown: https://insights.sbomify.com/CVE-2020-5413/index.md)","id":"CVE-2020-5413","markdown":"https://insights.sbomify.com/CVE-2020-5413/index.md","name":"CVE-2020-5413","record":{"aliases":["GHSA-86qr-9vqc-pgc6"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Spring Integration library","requires_auth":"none","summary":"Attackers can execute arbitrary code via malicious deserialization gadgets when Spring Integration uses Kryo with default settings.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"pivotal","cpe":[{"product":"banking_corporate_lending_process_management","vendor":"oracle"},{"product":"banking_credit_facilities_process_management","vendor":"oracle"},{"product":"banking_supply_chain_finance","vendor":"oracle"},{"product":"banking_virtual_account_management","vendor":"oracle"},{"product":"flexcube_private_banking","vendor":"oracle"},{"product":"retail_customer_management_and_segmentation_foundation","vendor":"oracle"},{"product":"retail_merchandising_system","vendor":"oracle"},{"product":"spring_integration","vendor":"vmware"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"Spring Integration framework provides Kryo Codec implementations as an alternative for Java (de)serialization. When Kryo is configured with default options, all unregistered classes are resolved on demand. This leads to the \"deserialization gadgets\" exploit when provided data contains malicious code for execution during deserialization. In order to protect against this type of attack, Kryo can be configured to require a set of trusted classes for (de)serialization. Spring Integration should be proactive against blocking unknown \"deserialization gadgets\" when configuring Kryo in code.","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":"Kryo Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","id":"CVE-2020-5413","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:flexcube_private_banking","products":["oracle:flexcube_private_banking","oracle:retail_customer_management_and_segmentation_foundation","oracle:retail_merchandising_system"],"type":"deserialization","year":"2020"},"n_packages":8,"n_references":5,"next":{"headline":"App Autoscaler logs credentials","id":"CVE-2020-5414"},"packages":[{"ecosystem":"Maven","fixed":["4.3.23"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":null,"source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["4.3.23"],"introduced":["4.3.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":"pkg:maven/org.springframework.integration/spring-integration-core","source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["5.1.12"],"introduced":["5.1.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":null,"source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["5.1.12"],"introduced":["5.1.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":"pkg:maven/org.springframework.integration/spring-integration-core","source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["5.2.8"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":null,"source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["5.2.8"],"introduced":["5.2.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":"pkg:maven/org.springframework.integration/spring-integration-core","source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["5.3.2"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":null,"source":"GHSA-86qr-9vqc-pgc6"},{"ecosystem":"Maven","fixed":["5.3.2"],"introduced":["5.3.0"],"last_affected":[],"package":"org.springframework.integration:spring-integration-core","purl":"pkg:maven/org.springframework.integration/spring-integration-core","source":"GHSA-86qr-9vqc-pgc6"}],"prev":{"headline":"Hystrix Dashboard Proxy In spring-cloud-netflix-hystrix-dashboard","id":"CVE-2020-5412"},"products":["Spring Integration"],"published":"2020-07-31","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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["Spring by VMware"]},"summary":"Attackers can execute arbitrary code via malicious deserialization gadgets when Spring Integration uses Kryo with default settings.","url":"https://insights.sbomify.com/CVE-2020-5413/"}