Vulnerability · Published Jan 23, 2024 · Assigned by GitHub_M

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

Critical 9.8

In plain English

A critical-severity unsafe deserialization in sofa-rpc from sofastack. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 57% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)0.8%top 43.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavencom.alipay.sofa:rpc-sofa-boot-starter5.12.0GHSA-7q8p-9953-pxvr

Affected products (as reported)

VendorProductVersions
sofastack sofa-rpc < 5.12.0

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References