# CVE-2024-23636: SOFARPC Remote Command Execution(RCE) Vulnerbility

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.26%, higher than 70% of CVEs (2026-11-30)
- Published: 2024-01-23T17:22:52.857Z
- Modified: 2026-09-10T03:50:09.323Z
- Also known as: GHSA-7q8p-9953-pxvr
- Weaknesses: CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sofastack sofa-rpc: < 5.12.0
- com.alipay.sofa:rpc-sofa-boot-starter (Maven): before 5.12.0
- sofastack sofarpc: before 5.12.0

## Every score

- GitHub_M: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-7q8p-9953-pxvr> (vendor-advisory, web)
- <https://github.com/sofastack/sofa-rpc/commit/42d19b1b1d14a25aafd9ef7c219c04a19f90fc76> (patch, 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)

## Sources

- CVE List: [CVE-2024-23636](https://www.cve.org/CVERecord?id=CVE-2024-23636), CVE Terms of Use, modified 2024-10-18
- GitHub Advisory Database: [GHSA-7q8p-9953-pxvr](https://github.com/advisories/GHSA-7q8p-9953-pxvr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23636](https://nvd.nist.gov/vuln/detail/CVE-2024-23636), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-23636 · Whole record: https://cve.day/CVE-2024-23636.json · Rebuilt by cve.day 2026-11-25T22:58:36.303Z
