CVE-2020-5413

Kryo Configuration Allows Code Execution with Unknown "Serialization Gadgets"

State
Published
Severity
Not scored
Published
Jul 31, 2020
Updated
Sep 16, 2024
Reserved
Jan 3, 2020

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-502 Deserialization of Untrusted Data

Affected Products

ProductVersions
Spring IntegrationSpring by VMware
  • 4.3 to before v4.3.23.RELEASEAffected
  • 5.1 to before v5.1.12.RELEASEAffected
  • 5.2 to before v5.2.8.RELEASEAffected
  • 5.3 to before v5.3.2.RELEASEAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.