# CVE-2020-5411: Jackson Configuration Allows Code Execution with Unknown "Serialization Gadgets"

- Severity: High 8.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.71%, higher than 78% of CVEs (2026-12-01)
- Published: 2020-06-11T17:00:16.564Z
- Modified: 2026-09-01T18:07:18.263Z
- Also known as: GHSA-4ph4-q9r5-6wm6
- Weaknesses: CWE-502
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Spring by VMware Spring Batch: from 4 before 4.2.3
- org.springframework.batch:spring-batch-core (Maven): from 4.0.0 before 4.2.3
- broadcom spring_batch: from 4.0.0 up to 4.0.4; from 4.1.0 up to 4.1.4; from 4.2.0 up to 4.2.2

## Every score

- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://tanzu.vmware.com/security/cve-2020-5411> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-5411> (advisory)
- <https://github.com/spring-projects/spring-batch> (package)

## Sources

- CVE List: [CVE-2020-5411](https://www.cve.org/CVERecord?id=CVE-2020-5411), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-4ph4-q9r5-6wm6](https://github.com/advisories/GHSA-4ph4-q9r5-6wm6), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2020-5411](https://nvd.nist.gov/vuln/detail/CVE-2020-5411), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2020-5411 · Whole record: https://cve.day/CVE-2020-5411.json · Rebuilt by cve.day 2026-11-25T22:57:52.924Z
