CVE-2020-5411: When configured to enable default typing, Jackson contained a deserialization vulnerability that could lead to
CVE-2020-5411 is a high-severity flaw (CVSS 8.1) affecting spring batch. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.1 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.7% (top 23%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2020-06-11 |
| Last modified | 2026-09-01 |
Last updated 2026-09-01 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2020-5411?
spring batch: upgrade to newer than 4.2.2. Exact commands for each OS are on this page.
Is CVE-2020-5411 being exploited?
CVE-2020-5411 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2020-5411 affect?
CVE-2020-5411 affects spring batch. Severity is high (CVSS 8.1). 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 configur
How urgent is CVE-2020-5411?
Priority 53/100. High severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-47878 MEDIUM 5.6 UPGRADE DefaultExecutionContextSerializer, used by default in Spring Batch's JDBC job repository, passes Base64-decode
- CVE-2026-47875 MEDIUM 5.6 UPGRADE Applications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable
- CVE-2026-47881 MEDIUM 5.9 UPGRADE Spring Batch's FlatFileItemReader supports files where a single logical record spans multiple physical lines —