ADVISORIES

GitHub Advisory Database

GHSA-85qj-f5wg-rwp9

Spring Statemachine's Kryo-based persistence backends deserialize persisted state-machine contexts without enforcing a class allowlist

Details

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 packages

EcosystemPackageAffected versions
Mavenorg.springframework.statemachine:spring-statemachine-kryo
From 3.2.0 up to and including 3.2.4
Mavenorg.springframework.statemachine:spring-statemachine-kryo
From 4.0.0 before 4.0.2 (fixed in 4.0.2)

References