CVE-2020-5413
Kryo Configuration Allows Code Execution with Unknown "Serialization Gadgets"
Reported by pivotal · Published July 31, 2020
spring-integration-core is fixed in 5.3.2, 5.2.8, 5.1.12 and 1 more (Maven Central)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.integration:spring-integration-core | Maven Central | 5.3.2, 5.2.8, 5.1.12, 4.3.23 |
| retail_customer_management_and_segmentation_foundation | oracle | 19.0 |
| Spring Integration | Spring by VMware | v5.1.12.RELEASE, v4.3.23.RELEASE, 5.3.2.RELEASE, 5.2.8.RELEASE, 5.1.12.RELEASE, 4.3.23.RELEASE |
| spring_integration | vmware | 5.3.1, 5.2.7, 5.1.11, 4.3.22 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Spring by VMware | Spring Integration | 4.3, 5.1, 5.2 |
| Spring by VMware | Spring Integration | 4.3, 5.1, 5.2 |
| Maven | org.springframework.integration:spring-integration-core | 4.3.0, 5.3.0, 5.1.0 |
Timeline
- Jul 31, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Oct 21, 2021 CVE Updated
- Apr 10, 2026 Security Advisory
- Aug 30, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-5413
vulnetix vdb fixes CVE-2020-5413
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-5413/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-5413 advisory
- https://github.com/spring-projects/spring-integration/commit/6a02b5abe97fabab6003d51b98dd45ab009a6e05 patch
- https://github.com/advisories/GHSA-86qr-9vqc-pgc6 advisory