VYPR
Critical severityNVD Advisory· Published Jul 31, 2020· Updated Sep 16, 2024

Kryo Configuration Allows Code Execution with Unknown "Serialization Gadgets"

CVE-2020-5413

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.

PackageAffected versionsPatched versions
org.springframework.integration:spring-integration-coreMaven
>= 4.3.0, < 4.3.234.3.23
org.springframework.integration:spring-integration-coreMaven
>= 5.3.0, < 5.3.25.3.2
org.springframework.integration:spring-integration-coreMaven
>= 5.1.0, < 5.1.125.1.12
org.springframework.integration:spring-integration-coreMaven
>= 5.2.0, < 5.2.85.2.8

Affected products

2

Patches

Vulnerability mechanics

References

8

News mentions

0

No linked articles in our index yet.