Security mailing lists by PureSourceCode

CVE-2020-5411

HIGH 8.1CVSS 3.1

Deserialization of Untrusted Data in Spring Batch

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.

Published
11 Jun 2020
Last modified
1 Sep 2026
Assigned by
security@pivotal.io
NVD status
Modified
Weakness
CWE-502
Also known as
GHSA-4ph4-q9r5-6wm6
Sources
NVDJSONOSV GHSA-4ph4-q9r5-6wm6JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD broadcom spring_batch
cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*
>= 4.0.0, <= 4.0.4
NVD broadcom spring_batch
cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*
>= 4.1.0, <= 4.1.4
NVD broadcom spring_batch
cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*
>= 4.2.0, <= 4.2.2
OSV Maven org.springframework.batch:spring-batch-core >= 4.0.0, < 4.2.3 4.2.3

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 11 Jun 2020)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.