JobParameterDeserializer bypasses the trusted-type allowlist
Spring Batch
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Spring Spring Batch |
| No fix yet |
Original description
Applications that deserialize execution contexts with Jackson2ExecutionContextStringSerializer are vulnerable to a deserialization attack if they use an untrusted data source for the job repository. The JobParameterDeserializer does not properly enforce the trusted-types allowlist, allowing an attacker to craft malicious input that can lead to arbitrary code execution, including known Jackson RCE gadgets. Spring Batch 6.0.0 - 6.0.4 Spring Batch 5.2.0 - 5.2.6
From the CVE record · vmware