Description
Spring Statemachine's Kryo-based persistence backends (JPA, MongoDB, Redis and ZooKeeper) deserialise persisted state-machine contexts without enforcing a class allowlist (CWE-502, deserialisation of untrusted data), which can lead to remote code execution inside the application JVM.
Affected versions:
Spring Statemachine 4.0.0 through 4.0.1
Spring Statemachine 3.2.0 through 3.2.4
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spring | Spring Statemachine | 4.0.0 – < 4.0.1.1, 3.2.0 – < 3.2.5 | 4.0.1.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.springframework.statemachine:spring-statemachine-kryo | >= 3.2.0, <= 3.2.4 | — | GHSA-85qj-f5wg-rwp9 |
| Maven | org.springframework.statemachine:spring-statemachine-kryo | >= 4.0.0, < 4.0.2 | 4.0.2 | GHSA-85qj-f5wg-rwp9 |