Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1jNDU5LTJtNzMtNjdoas4AA_sO
SOFA Hessian Remote Command Execution (RCE) Vulnerability
Impact
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.
Patches
Fixed this issue by update blacklist, users can upgrade to sofahessian version 3.5.5 to avoid this issue.
Workarounds
You can maintain a blacklist yourself in this directory external/serialize.blacklist
.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1jNDU5LTJtNzMtNjdoas4AA_sO
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 24 days ago
Updated: 23 days ago
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
Identifiers: GHSA-c459-2m73-67hj, CVE-2024-46983
References:
- https://github.com/sofastack/sofa-hessian/security/advisories/GHSA-c459-2m73-67hj
- https://github.com/sofastack/sofa-hessian/commit/764ef4b216aee6aeb4b111aec8947a4e8b53bb87
- https://nvd.nist.gov/vuln/detail/CVE-2024-46983
- https://github.com/advisories/GHSA-c459-2m73-67hj
Blast Radius: 19.5
Affected Packages
maven:com.alipay.sofa:hessian
Dependent packages: 39Dependent repositories: 98
Downloads:
Affected Version Ranges: < 3.5.5
Fixed in: 3.5.5
All affected versions: 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.3.5, 3.3.6, 3.3.7, 3.3.8, 3.3.9, 3.3.10, 3.3.11, 3.3.12, 3.3.13, 3.4.0, 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.5.4
All unaffected versions: 3.5.5, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4