CVE-2024-46983: Sofa-hessian - Insecure Deserialization
- Cve: CVE-2024-46983
- Name: Sofa-hessian - Insecure Deserialization
- 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`.
- Impact: Attackers can bypass deserialization restrictions, potentially leading to remote code execution or arbitrary code execution.
- Remediation: Upgrade to sofa-hessian version 3.5.5 or later, or maintain a custom blacklist in 'external/serialize.blacklist'.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00678
- Epss percentile: 0.53086
- Assignee: [email protected]
- Published at: 2024-09-19T23:15:11Z
- Age in days: 796
- Modified at: 2026-06-17T07:56:18Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-46983
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component |
| NVD-CWE-noinfo | — |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/sofastack/sofa-hessian/security/advisories/GHSA-c459-2m73-67hj | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| antfin:sofa-hessian | < 3.5.5 | no | nvd | /v1/products/antfin/sofa-hessian |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| sofastack/sofa-hessian | commit, package, security_advisory | yes | /v1/repositories/sofastack/sofa-hessian |
Index
- Repositories: 6
- Repositories high signal: 6
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts