Kryo Configuration Allows Code Execution with Unknown "Serialization Gadgets"
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.springframework.integration:spring-integration-coreMaven | >= 4.3.0, < 4.3.23 | 4.3.23 |
org.springframework.integration:spring-integration-coreMaven | >= 5.3.0, < 5.3.2 | 5.3.2 |
org.springframework.integration:spring-integration-coreMaven | >= 5.1.0, < 5.1.12 | 5.1.12 |
org.springframework.integration:spring-integration-coreMaven | >= 5.2.0, < 5.2.8 | 5.2.8 |
Affected products
2- ghsa-coordsRange: >= 4.3.0, < 4.3.23
- Spring by VMware/Spring Integrationv5Range: 4.3
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-86qr-9vqc-pgc6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-5413ghsaADVISORY
- github.com/spring-projects/spring-integration/commit/6a02b5abe97fabab6003d51b98dd45ab009a6e05ghsaWEB
- tanzu.vmware.com/security/cve-2020-5413ghsax_refsource_CONFIRMWEB
- www.oracle.com//security-alerts/cpujul2021.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuApr2021.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuapr2022.htmlghsax_refsource_MISCWEB
- www.oracle.com/security-alerts/cpuoct2021.htmlghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.