{"id":"CVE-2020-5413","published":"2020-07-31T19:40:19Z","modified":"2024-09-16T16:22:53Z","title":"Kryo Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","vendor":"Spring by VMware","product":"Spring Integration","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.04409,"percentile":0.91555,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2020-5413","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuApr2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":18.3,"factors":[{"name":"EPSS percentile","points":18.31}]},"vendorSlug":"spring-by-vmware","affectedVersions":[{"vendor":"Spring by VMware","product":"Spring Integration","versions":[">= 4.3, < v4.3.23.RELEASE",">= 5.1, < v5.1.12.RELEASE",">= 5.2, < v5.2.8.RELEASE",">= 5.3, < v5.3.2.RELEASE"]}],"affected":[{"ecosystem":"Maven","package":"org.springframework.integration:spring-integration-core","vulnerableRanges":[">=4.3.0, <4.3.23",">=5.3.0, <5.3.2",">=5.1.0, <5.1.12",">=5.2.0, <5.2.8"],"patched":["4.3.23","5.3.2","5.1.12","5.2.8"],"from":["GHSA-86qr-9vqc-pgc6"],"provenance":"source"}],"summary":{"text":"Spring Integration's Kryo codec implementations, used as an alternative to Java serialization, are vulnerable to deserialization gadget attacks when Kryo is left at its default configuration, in which unregistered classes are resolved on demand. An attacker who can supply serialized data to a Kryo-backed endpoint may be able to trigger arbitrary code execution during deserialization, and the vulnerable configuration is the default one rather than a specific network position, authentication state, or user action.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:17:30Z"},"euvd":{"id":"EUVD-2020-0604","exploited":false,"provenance":"source"}}