CVEvulnerability
CVE-2020-5411
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2020-06-11
- Last modified
- 2026-09-01
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-502
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.
Affected configurations
• broadcom spring batch (>= 4.0.0 <= 4.0.4)
• broadcom spring batch (>= 4.1.0 <= 4.1.4)
• broadcom spring batch (>= 4.2.0 <= 4.2.2)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://tanzu.vmware.com/security/cve-2020-5411 Vendor Advisory
- https://tanzu.vmware.com/security/cve-2020-5411 Vendor Advisory