Skip to main content
← All vulnerabilities
CVE-2020-5413GHSA-86QR-9VQC-PGC6

Kryo Configuration Allows Code Execution with Unknown "Serialization Gadgets"

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in v4.3.23.RELEASE, v5.1.12.RELEASE, v5.2.8.RELEASE, v5.3.2.RELEASE, 4.3.23, and 3 more
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Spring by VMware Spring Integration

    From 4.3 · fixed in v4.3.23.RELEASE; From 5.1 · fixed in v5.1.12.RELEASE; From 5.2 · fixed in v5.2.8.RELEASE; From 5.3 · fixed in v5.3.2.RELEASE

  • org.springframework.integration:spring-integration-coreMaven

    From 4.3.0 · fixed in 4.3.23

  • org.springframework.integration:spring-integration-coreMaven

    From 5.3.0 · fixed in 5.3.2

  • org.springframework.integration:spring-integration-coreMaven

    From 5.1.0 · fixed in 5.1.12

  • org.springframework.integration:spring-integration-coreMaven

    From 5.2.0 · fixed in 5.2.8

References 5

tanzu.vmware.com

oracle.com