CVE-2024-23636
CRITICAL 9.8CVSS 3.1Remote Command Execution in SOFARPC
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.
- Published
- 23 Jan 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-502
- Also known as
- GHSA-7q8p-9953-pxvr
- Sources
- NVDJSONOSV GHSA-7q8p-9953-pxvrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sofastack | sofarpccpe:2.3:a:sofastack:sofarpc:*:*:*:*:*:*:*:* |
< 5.12.0 | 5.12.0 |
| OSV | Maven | com.alipay.sofa:rpc-sofa-boot-starter | < 5.12.0 | 5.12.0 |
References
- https://github.com/sofastack/sofa-rpc/commit/42d19b1b1d14a25aafd9ef7c219c04a19f90fc76 · Patch, WEB
- https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-7q8p-9953-pxvr · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-23636 · ADVISORY
- https://github.com/sofastack/sofa-rpc/commit/d08e25824ae9feaf0876adba9acd2938f34759b1 · WEB
- https://github.com/sofastack/sofa-rpc · PACKAGE
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 23 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Jan 2024)