CVE-2020-5411

Jackson Configuration Allows Code Execution with Unknown "Serialization Gadgets"

Published Jun 11, 2020 CVSS 3.1 · 8.1 High EPSS 1.7% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-2414 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.
Github GHSA Github GHSA GHSA-4ph4-q9r5-6wm6 Deserialization of Untrusted Data in Spring Batch
History
Type Values Removed Values Added
First Time appeared Broadcom
Broadcom spring Batch
CPEs cpe:2.3:a:pivotal_software:spring_batch:*:*:*:*:*:*:*:* cpe:2.3:a:broadcom:spring_batch:*:*:*:*:*:*:*:*
Vendors & Products Pivotal Software
Pivotal Software spring Batch
Broadcom
Broadcom spring Batch
Weaknesses

Sources

Status
PUBLISHED
Assigner
pivotal
Published
Updated
Sep 17, 2024, 1:46 AM
Reserved
Jan 3, 2020, 12:00 AM
Status
Modified
Published
Jun 11, 2020, 5:15 PM
Modified
Sep 1, 2026, 6:07 PM
Severity
Important
Public date
Jun 10, 2020, 12:00 AM