VDB

CVE-2020-5411

CVE-2020-5411 PUBLISHED CVSS 8.100000381469727 HIGH

Jackson Configuration Allows Code Execution with Unknown "Serialization Gadgets"

Reported by pivotal · Published June 11, 2020

spring-batch-core is fixed in 4.2.3 and 4.2.2 (Maven Central)

When configured to enable default typing, Jackson contained a deserialization vulnerability that could lead to arbitrary code execution. Jackson fixed this vulnerability by blacklisting known "deserialization gadgets". Spring Batch configures Jackson with global default typing enabled which means that through the previous exploit, arbitrary code could be executed if all of the following is true: * Spring Batch's Jackson support is being leveraged to serialize a job's ExecutionContext. * A malicious user gains write access to the data store used by the JobRepository (where the data to be deserialized is stored). In order to protect against this type of attack, Jackson prevents a set of untrusted gadget classes from being deserialized. Spring Batch should be proactive against blocking unknown "deserialization gadgets" when enabling default typing.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
org.springframework.batch:spring-batch-coreMaven Central4.2.3, 4.2.2
Spring BatchSpring by VMware4.2.3
spring_batchpivotal_software4.2.2, 4.1.4, 4.0.4
spring_batchbroadcom4.2.2, 4.1.4, 4.0.4

Risk scores

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

Affected products

VendorProductVersions
Spring by VMwareSpring Batch4
Mavenorg.springframework.batch:spring-batch-core4.0.0
Spring by VMwareSpring Batch4

Timeline

  • Jun 11, 2020 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 4, 2026 Security Advisory
  • Aug 30, 2026 Coalition ESS Score
  • Sep 1, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2020-5411
vulnetix vdb fixes CVE-2020-5411

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-5411/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›