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.
Fixed this issue by update blacklist, users can upgrade to sofahessian version 3.5.5 to avoid this issue.
You can maintain a blacklist yourself in this directory external/serialize.blacklist.
| Score | Percentile |
|---|---|
| 0.18% | 39.06% |
| Base score | Version | Severity | Vector |
|---|---|---|---|
| 9.8 | 3.1 | — |
|
| 8.1 | 4.0 | — |
|
| Type | Value |
|---|---|
| GHSA | GHSA-c459-2m73-67hj ↗ |
| CVE | CVE-2024-46983 ↗ |
Vulnerable version ranges and first patched releases as published by GitHub.
| Ecosystem | Package | Vulnerable range | First patched | Vulnerable functions |
|---|---|---|---|---|
| maven | com.alipay.sofa:hessian | < 3.5.5 | 3.5.5 | — |