CRITICAL 9.8

CVE-2020-5413

Code execution in Spring Integration

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.

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.springframework.integration » spring-integration-core
>= 4.3.0, < 4.3.23>= 5.1.0, < 5.1.12>= 5.2.0, < 5.2.8>= 5.3.0, < 5.3.2
4.3.23, 5.1.12, 5.2.8, 5.3.2

Blast radius

1affected artifacts
45affected versions
1,412dependent artifacts (est.)
33,051dependent versions

20% of the dependent artifacts (283) still pull an affected version in their latest release.

DepthDependent versions
Direct
2,838
2 hops
5,575
3 hops
4,405
4 hops
2,559
5 hops
3,914
6 hops
13,760

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.