Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.integration/spring-integration-core
  4. ›
  5. CVE-2020-5413

CVE-2020-5413: Deserialization of Untrusted Data

August 5, 2020 (updated October 21, 2021)

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.

References

  • github.com/advisories/GHSA-86qr-9vqc-pgc6
  • github.com/spring-projects/spring-integration/commit/6a02b5abe97fabab6003d51b98dd45ab009a6e05
  • nvd.nist.gov/vuln/detail/CVE-2020-5413
  • tanzu.vmware.com/security/cve-2020-5413

Code Behaviors & Features

Detect and mitigate CVE-2020-5413 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.3.0 before 4.3.23, all versions starting from 5.3.0 before 5.3.2, all versions starting from 5.1.0 before 5.1.12, all versions starting from 5.2.0 before 5.2.8

Fixed versions

  • 4.3.23
  • 4.3.23
  • 5.3.2
  • 5.3.2
  • 5.1.12

Solution

Upgrade to versions 4.3.23, 4.3.23, 5.3.2, 5.3.2, 5.1.12 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

maven/org.springframework.integration/spring-integration-core/CVE-2020-5413.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.