Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2020-5411

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-5411
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:41 UTC · Revision 1

Source evidence

CVE-2020-5411

core-osv · Original source

Published 11 Jun 2020, 17:15 UTC

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.

osv:CVE-2020-5411
Complete source record
{
  "id": "0fbf63e316894a9352dc79c3f8779e4aefaf047d2722170fae47f30dde2eedf4",
  "url": "https://osv.dev/vulnerability/CVE-2020-5411",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-5411",
    "summary": "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.",
    "evidence": "osv:CVE-2020-5411",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-5411",
      "aliases": [
        "CVE-2020-5411",
        "GHSA-4ph4-q9r5-6wm6"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/spring-projects/spring-batch",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4e19c15fbef77d586f0332dbf333d4b10022763e"
                },
                {
                  "last_affected": "23980d2b9219a6c6cf1e452235a972d02a86374c"
                },
                {
                  "introduced": "16320b9c2f64a2ba9cbae91a154e8703c1fda087"
                },
                {
                  "last_affected": "51f801ce4170eb02eac6f7f80bd87d319d76dea9"
                },
                {
                  "introduced": "228e39f9761711fb31180f576298b648c36eb03c"
                },
                {
                  "last_affected": "1c131ee95c27b4fa17500399c96309a2ffe0c794"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "last_affected": "4.0.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.1.0"
                      },
                      {
                        "last_affected": "4.1.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.2.0"
                      },
                      {
                        "last_affected": "4.2.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.2.2.RELEASE",
            "4.1.4.RELEASE",
            "4.2.1.RELEASE",
            "4.1.3.RELEASE",
            "4.2.0.RELEASE",
            "4.1.2.RELEASE",
            "4.1.1.RELEASE",
            "4.1.0.RELEASE"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5411.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:32.492425458Z",
      "provider": "osv",
      "references": [
        "https://tanzu.vmware.com/security/cve-2020-5411"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-5411",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 433037,
  "published_at": "2020-06-11T17:15:12.41+00:00"
}