SOFARPC Remote Command Execution(RCE) Vulnerbility
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-502.
Summary
SOFARPC is a Java RPC framework. SOFARPC defaults to using the SOFA Hessian protocol to deserialize received data, while the SOFA Hessian protocol uses a blacklist mechanism to restrict deserialization of potentially dangerous classes for security protection. But, prior to version 5.12.0, 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. Version 5.12.0 fixed this issue by adding a blacklist. SOFARPC also provides a way to add additional blacklists. Users can add a class like `-Drpc_serialize_blacklist_override=org.apache.xpath.` to avoid this issue.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| sofastack | sofa-rpc | before 5.12.0 | 5.12.0 | Patch available | CNA |
| — | com.alipay.sofa:rpc-sofa-boot-starter (Maven) | before 5.12.0 | 5.12.0 | Patch available | GHSA-7q8p-9953-pxvr |
- sofa-rpc Vendorsofastack Affected before 5.12.0 Fixed in 5.12.0 Patch available CNA
- com.alipay.sofa:rpc-sofa-boot-starter (Maven) Vendor— Affected before 5.12.0 Fixed in 5.12.0 Patch available GHSA-7q8p-9953-pxvr
Remediation
- Fix · CNA sofa-rpc (sofastack) Fixed in 5.12.0
- Fix · GHSA-7q8p-9953-pxvr com.alipay.sofa:rpc-sofa-boot-starter (Maven) Fixed in 5.12.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-23636
- 2026-10-03 Alias added: GHSA-7q8p-9953-pxvr
References
Advisory 2
More sofastack Sofarpc vulnerabilities
- TI-2023-21931 SOFARPC Remote Command Execution (RCE) Vulnerability CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-23636 · CVE Program
- CVE-2024-23636 · NVD
- FIRST EPSS
- GHSA-7q8p-9953-pxvr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences