CVE-2024-23636

Critical

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.

SeverityCritical
CVSS9.8
Exploit probability57. percentile0.8%
ProductSofastack Sofarpc
PublishedJan 23, 2024
First seenJan 23, 2024

How to fix

Update
  • sofastack sofarpc5.12.0 or later
  • com.alipay.sofa:rpc-sofa-boot-starter5.12.0 or later

Affected products

ProductAffected versionsFixed in
sofastack sofarpcv < 5.12.05.12.0
com.alipay.sofa:rpc-sofa-boot-starterMavenv < 5.12.05.12.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.