CVE Catalog

CVE-2020-5411

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

High risk
1.86%

78th percentile - higher than 78% of all known CVEs

Summary

Jackson, when configured with default typing, has a deserialization vulnerability that could lead to arbitrary code execution. Spring Batch, using Jackson with global default typing, may allow code execution if an attacker has write access to the JobRepository data store.

Risk Assessment

An attacker with access to the data store could execute arbitrary code in the application context, potentially leading to system compromise.

Recommendation

Update Spring Batch to a patched version and consider disabling Jackson's default typing if not required.

Other vulnerabilities in Spring Batch

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS