{"id":"CVE-2024-23636","published":"2024-01-23T17:22:52Z","modified":"2024-10-18T16:00:41Z","title":"SOFARPC Remote Command Execution(RCE) Vulnerbility","vendor":"sofastack","product":"sofa-rpc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00799,"percentile":0.57457,"provenance":"source"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"references":[{"url":"https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-7q8p-9953-pxvr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sofastack/sofa-rpc/commit/42d19b1b1d14a25aafd9ef7c219c04a19f90fc76","tags":["x_refsource_MISC"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":11.49},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"sofastack","affectedVersions":[{"vendor":"sofastack","product":"sofa-rpc","versions":["< 5.12.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-01-24T15:15:39.580357Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.alipay.sofa:rpc-sofa-boot-starter","vulnerableRanges":["<5.12.0"],"patched":["5.12.0"],"from":["GHSA-7q8p-9953-pxvr"],"provenance":"source"}],"summary":{"text":"The flaw is an insecure deserialization issue in the SOFA Hessian protocol, which is the default serialization used by sofa-rpc, the Java RPC framework from SOFAStack; a gadget chain bypasses the protocol's blacklist of dangerous classes in releases before 5.12.0. An attacker with network access can send crafted serialized data to a sofa-rpc endpoint without authentication or user interaction, which the gadget chain turns into command execution, relying only on classes in the JDK.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:33:21Z"},"euvd":{"id":"EUVD-2024-0286","exploited":false,"provenance":"source"}}