{"answers":{"affected":"6 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-2019-3774 in the wild and no public exploit code.","fix":"Upgrade org.springframework.batch:spring-batch-core to a fixed version for your release line: 3.0.10.RELEASE, 4.0.2.RELEASE or 4.1.1.RELEASE.","what":"CVE-2019-3774 is a critical vulnerability in Spring Batch, published on 18 Jan 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-3774 and fix it if it is affected.\n\nWhat it is: CVE-2019-3774 is a critical vulnerability in Spring Batch, published on 18 Jan 2019. 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-2019-3774 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.springframework.batch:spring-batch-core (Maven): affected all versions; fixed in 3.0.10.RELEASE\n- org.springframework.batch:spring-batch-core (Maven): affected all versions; fixed in 3.0.10.RELEASE\n- org.springframework.batch:spring-batch-core (Maven): affected from 4.0.0.RELEASE; fixed in 4.0.2.RELEASE\n- org.springframework.batch:spring-batch-core (Maven): affected from 4.0.0.RELEASE; fixed in 4.0.2.RELEASE\n- org.springframework.batch:spring-batch-core (Maven): affected from 4.1.0.RELEASE; fixed in 4.1.1.RELEASE\n- org.springframework.batch:spring-batch-core (Maven): affected from 4.1.0.RELEASE; fixed in 4.1.1.RELEASE\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-2019-3774/ (Markdown: https://insights.sbomify.com/CVE-2019-3774/index.md)","id":"CVE-2019-3774","markdown":"https://insights.sbomify.com/CVE-2019-3774/index.md","name":"CVE-2019-3774","record":{"aliases":["GHSA-3wc8-659g-r88q"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java batch processing library","requires_auth":"none","summary":"Attackers can exploit XML External Entity injection in Spring Batch to read sensitive files or cause denial of service via malicious XML input.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"dell","cpe":[{"product":"spring_batch","vendor":"broadcom"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"Spring Batch versions 3.0.9, 4.0.1, 4.1.0, and older unsupported versions, were susceptible to XML External Entity Injection (XXE) when receiving XML data from untrusted sources.","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":"Spring Batch XML External Entity Injection (XXE)","id":"CVE-2019-3774","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"xxe","year":"2019"},"n_packages":6,"n_references":20,"next":{"headline":"UAA allows users to modify their own email address","id":"CVE-2019-3775"},"packages":[{"ecosystem":"Maven","fixed":["3.0.10.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":null,"source":"GHSA-3wc8-659g-r88q"},{"ecosystem":"Maven","fixed":["3.0.10.RELEASE"],"introduced":["0"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":"pkg:maven/org.springframework.batch/spring-batch-core","source":"GHSA-3wc8-659g-r88q"},{"ecosystem":"Maven","fixed":["4.0.2.RELEASE"],"introduced":["4.0.0.RELEASE"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":null,"source":"GHSA-3wc8-659g-r88q"},{"ecosystem":"Maven","fixed":["4.0.2.RELEASE"],"introduced":["4.0.0.RELEASE"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":"pkg:maven/org.springframework.batch/spring-batch-core","source":"GHSA-3wc8-659g-r88q"},{"ecosystem":"Maven","fixed":["4.1.1.RELEASE"],"introduced":["4.1.0.RELEASE"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":null,"source":"GHSA-3wc8-659g-r88q"},{"ecosystem":"Maven","fixed":["4.1.1.RELEASE"],"introduced":["4.1.0.RELEASE"],"last_affected":[],"package":"org.springframework.batch:spring-batch-core","purl":"pkg:maven/org.springframework.batch/spring-batch-core","source":"GHSA-3wc8-659g-r88q"}],"prev":{"headline":"Spring Web Services XML External Entity Injection (XXE)","id":"CVE-2019-3773"},"products":["Spring Batch"],"published":"2019-01-18","related":[{"cvss_score":8.1,"headline":"Jackson Configuration Allows Code Execution with Unknown \"Serialization Gadgets\"","id":"CVE-2020-5411","kev_date_added":null,"published":"2020-06-11"},{"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-16","vendors":["Spring"]},"summary":"Attackers can exploit XML External Entity injection in Spring Batch to read sensitive files or cause denial of service via malicious XML input.","url":"https://insights.sbomify.com/CVE-2019-3774/"}