{"id":"CVE-2024-23636","aliases":["GHSA-7q8p-9953-pxvr"],"url":"https://o3.security/vulnerability/CVE-2024-23636","summary":"SOFARPC Remote Command Execution(RCE) Vulnerbility","details":"Impact\nSOFARPC 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 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.\n\nPatches\nFixed this issue by adding a blacklist, users can upgrade to sofarpc version 5.12.0 to avoid this issue.\n\nWorkarounds\nSOFARPC also provides a way to add additional blacklist. Users can add some class like -Drpc_serialize_blacklist_override=org.apache.xpath. to avoid this issue.","published":"2024-01-23T17:22:52.857Z","modified":"2026-10-28T10:40:10.728528525Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"com.alipay.sofa:rpc-sofa-boot-starter","fixedVersion":"5.12.0"}],"fix":{"url":"https://github.com/sofastack/sofa-rpc/commit/42d19b1b1d14a25aafd9ef7c219c04a19f90fc76","label":"sofastack/sofa-rpc@42d19b1"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/23xxx/CVE-2024-23636.json"},{"type":"ADVISORY","url":"https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-7q8p-9953-pxvr"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23636"},{"type":"FIX","url":"https://github.com/sofastack/sofa-rpc/commit/42d19b1b1d14a25aafd9ef7c219c04a19f90fc76"},{"type":"WEB","url":"https://github.com/sofastack/sofa-rpc/commit/d08e25824ae9feaf0876adba9acd2938f34759b1"},{"type":"PACKAGE","url":"https://github.com/sofastack/sofa-rpc"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T10:40:10.728528525Z"}}