Vulnerability · Published Sep 19, 2024 · Assigned by GitHub_M
CVE-2024-46983Remote Command Execution(RCE) Vulnerbility in sofa-hessian
Critical 9.8
In plain English
A critical-severity injection in sofa-hessian from sofastack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | com.alipay.sofa:hessian | 3.5.5 | GHSA-c459-2m73-67hj |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sofastack | sofa-hessian | < 3.5.5 |
Weakness: CWE-74 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H