Critical, CVSS 9.8MavenPublished
Code execution in Spring Integration
CVE-2020-5413 · GHSA-86qr-9vqc-pgc6
- Affected
- Maven org.springframework.integration:spring-integration-core >= 4.3.0, < 4.3.23; >= 5.3.0, < 5.3.2; >= 5.1.0, < 5.1.12; >= 5.2.0, < 5.2.8
- Fixed in
- 5.1.125.3.25.2.84.3.23· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 5.3.2, 5.2.8, 5.1.12 or 4.3.23 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.