{"answers":{"affected":"2 open source packages ship an affected version, including org.springframework.batch:spring-batch-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-5411 in the wild and no public exploit code.","fix":"Upgrade org.springframework.batch:spring-batch-core to 4.2.3 or later.","what":"CVE-2020-5411 is a high-severity unsafe deserialization vulnerability in Spring Batch, published on 11 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-5411 and fix it if it is affected.\n\nWhat it is: CVE-2020-5411 is a high-severity unsafe deserialization vulnerability in Spring Batch, published on 11 Jun 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-5411 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.batch:spring-batch-core (Maven): affected from 4.0.0; fixed in 4.2.3\n- org.springframework.batch:spring-batch-core (Maven): affected from 4.0.0; fixed in 4.2.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-5411/ (Markdown: https://insights.sbomify.com/CVE-2020-5411/index.md)","id":"CVE-2020-5411","markdown":"https://insights.sbomify.com/CVE-2020-5411/index.md","name":"CVE-2020-5411","record":{"aliases":["GHSA-4ph4-q9r5-6wm6"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Spring Batch library","requires_auth":"none","summary":"Attackers with write access to the job repository can execute arbitrary code via unsafe Jackson deserialization in Spring Batch.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"pivotal","cpe":[{"product":"spring_batch","vendor":"broadcom"}],"cvss":{"score":8.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Jackson Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","id":"CVE-2020-5411","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Hystrix Dashboard Proxy In spring-cloud-netflix-hystrix-dashboard","id":"CVE-2020-5412"},"packages":[{"ecosystem":"Maven","fixed":["4.2.3"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":null,"source":"GHSA-4ph4-q9r5-6wm6"},{"ecosystem":"Maven","fixed":["4.2.3"],"introduced":["4.0.0"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":"pkg:maven/org.springframework.batch/spring-batch-core","source":"GHSA-4ph4-q9r5-6wm6"}],"prev":{"headline":"VMware Tanzu Spring Cloud Config Directory Traversal","id":"CVE-2020-5410"},"products":["Spring Batch"],"published":"2020-06-11","related":[{"cvss_score":9.8,"headline":"Spring Batch XML External Entity Injection (XXE)","id":"CVE-2019-3774","kev_date_added":null,"published":"2019-01-18"},{"cvss_score":5.9,"headline":"Denial of Service in Spring Batch FlatFileItemReader via Malformed Input File","id":"CVE-2026-47881","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":5.6,"headline":"JobParameterDeserializer bypasses the trusted-type allowlist","id":"CVE-2026-47875","kev_date_added":null,"published":"2026-08-27"},{"cvss_score":5.6,"headline":"Unsafe Java deserialization in DefaultExecutionContextSerializer without class allowlist","id":"CVE-2026-47878","kev_date_added":null,"published":"2026-08-27"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Spring by VMware"]},"summary":"Attackers with write access to the job repository can execute arbitrary code via unsafe Jackson deserialization in Spring Batch.","url":"https://insights.sbomify.com/CVE-2020-5411/"}