Skip to content

← Public intelligence

Maven package

org.springframework.batch:spring-batch-core

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.1MavenPublished

    Deserialization of Untrusted Data in Spring Batch

    CVE-2020-5411 · GHSA-4ph4-q9r5-6wm6

    Affected
    • Maven org.springframework.batch:spring-batch-core >= 4.0.0, <= 4.2.2
    Fixed in
    4.2.3· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 4.2.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. UnratedMavenPublished

    Low severity vulnerability that affects org.springframework.batch:spring-batch-core

    CVE-2019-3774 · GHSA-3wc8-659g-r88q

    Affected
    • Maven org.springframework.batch:spring-batch-core < 3.0.10.RELEASE; >= 4.0.0.RELEASE, < 4.0.2.RELEASE; >= 4.1.0.RELEASE, <= 4.1.0.RELEASE
    Fixed in
    4.1.1.RELEASE3.0.10.RELEASE4.0.2.RELEASE· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 4.1.1.RELEASE, 4.0.2.RELEASE or 3.0.10.RELEASE by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →