CVE-2020-5411
publishedJackson Configuration Allows Code Execution with Unknown "Serialization Gadgets"
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring by VMware | — | Spring Batch4 to < 4.2.3 | Affected | Not stated | pivotal |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring by VMware | Spring Batch | 4 to < 4.2.3 (affected · custom) | pivotal · cna |
Weaknesses
1- CWE-502 CWE-502: Deserialization of Untrusted Data
References
1Provider assertions
2pivotal · cna
Jackson Configuration Allows Code Execution with Unknown "Serialization Gadgets"
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ca6914ed71eacc91ffbc6f0f8cd80de86721d478df17f9f0ed1450de809c68bb
- Ingested
- 23 Sep 2026, 07:51:02 UTC
- Source record
- Official CVE record