logo

CVE-2024-23636 com.alipay.sofa:rpc-sofa-boot-starter

Package

Manager: maven
Name: com.alipay.sofa:rpc-sofa-boot-starter
Vulnerable Version: >=0 <5.12.0

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00549 pctl0.66962

Details

Remote Command Execution in SOFARPC Impact 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 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. Patches Fixed this issue by adding a blacklist, users can upgrade to sofarpc version 5.12.0 to avoid this issue. Workarounds SOFARPC 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.

Metadata

Created: 2024-01-23T20:10:20Z
Modified: 2025-07-21T16:50:06Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/01/GHSA-7q8p-9953-pxvr/GHSA-7q8p-9953-pxvr.json
CWE IDs: ["CWE-502"]
Alternative ID: GHSA-7q8p-9953-pxvr
Finding: F096
Auto approve: 1