CVE-2020-5411 in Pivotal Software Spring Batch
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 pr...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Pivotal Software | Spring Batch | ≥ 4.0.0, ≤ 4.0.4 ≥ 4.1.0, ≤ 4.1.4 ≥ 4.2.0, ≤ 4.2.2 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2020-5411 |
|---|---|
| BreachSpider ID | BS-2020-GLOBAL-183884-H |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2020-06-11 |
| Last modified | 2026-09-01 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-502: Deserialization of Untrusted Data
Software deserializes untrusted data without validation, allowing crafted objects to execute arbitrary code.
Related attack patterns (CAPEC)
CAPEC-586 Object Injection via CWE-502
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Jackson, when configured with default typing enabled, had a deserialization vulnerability that could lead to arbitrary code execution. This vulnerability was exploited in Spring Batch due to its global default typing configuration.
An attacker could craft a malicious JSON payload that, when deserialized by Jackson in a Spring Batch environment, could execute arbitrary code on the server.
Questions
What is CVE-2020-5411?
Jackson, when configured with default typing enabled, had a deserialization vulnerability that could lead to arbitrary code execution. This vulnerability was exploited in Spring Batch due to its global default typing configuration.
What is the CVSS score for CVE-2020-5411?
CVE-2020-5411 has CVSS 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.7%.
Is CVE-2020-5411 actively exploited?
No confirmed active exploitation of CVE-2020-5411 as of 2026-09-02.
How do I remediate CVE-2020-5411?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2020-5411?
CVE-2020-5411 affects Pivotal Software Spring Batch.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Pivotal Software","product":"Spring Batch","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-09-01.