{"id":"CVE-2020-5411","published":"2020-06-11T17:00:16Z","modified":"2024-09-17T01:46:53Z","title":"Jackson Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","vendor":"Spring by VMware","product":"Spring Batch","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01712,"percentile":0.77943,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://tanzu.vmware.com/security/cve-2020-5411","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.59}]},"vendorSlug":"spring-by-vmware","affectedVersions":[{"vendor":"Spring by VMware","product":"Spring Batch","versions":[">= 4, < 4.2.3"]}],"affected":[{"ecosystem":"Maven","package":"org.springframework.batch:spring-batch-core","vulnerableRanges":[">=4.0.0, <4.2.3"],"patched":["4.2.3"],"from":["GHSA-4ph4-q9r5-6wm6"],"provenance":"source"}],"summary":{"text":"Spring Batch's Jackson-based serialization of job ExecutionContext data contains a deserialization flaw, because global default typing is enabled and Jackson's blacklist of known gadget classes does not cover every unknown gadget. An attacker who can write to the data store backing the JobRepository, and whose malicious data is then serialized through Spring Batch's Jackson support, can achieve arbitrary code execution during deserialization.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:05Z"},"euvd":{"id":"EUVD-2022-2414","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-3774","published":"2019-01-18","fixed":"4.1.1.RELEASE","kev":false,"link":{"from":"CVE-2019-3774","to":"CVE-2020-5411","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.springframework.batch:spring-batch-core","fromFixed":"4.1.1.RELEASE","toFixed":"4.2.3","daysApart":510}]}},{"cve":"CVE-2020-5411","published":"2020-06-11","fixed":"4.2.3","kev":false}],"package":"Maven:org.springframework.batch:spring-batch-core"}}