Apache · Apache Cayenne · CVE-2022-24289
**Name of the Vulnerable Software and Affected Versions**
Apache Cayenne versions 4.1 and earlier
**Description**
Hessian serialization is a network protocol that supports object-based transmission. Apache Cayenne's optional Remote Object Persistence (ROP) feature is a web services-based technology that provides object persistence and query functionality to 'remote' applications. In Apache Cayenne, running on non-current patch versions of Java, an attacker with client access to Cayenne ROP can transmit a malicious payload to any vulnerable third-party dependency on the server. This can result in arbitrary code execution.
**Recommendations**
For Apache Cayenne versions 4.1 and earlier, update to a version that uses current patch versions of Java to prevent the transmission of malicious payloads. As a temporary workaround, consider restricting access to the Cayenne ROP feature until a patch is available. Additionally, restrict access to vulnerable third-party dependencies on the server to minimize the risk of exploitation.