Read the docs
TI-2023-21931 Aliases CVE-2023-41331

SOFARPC Remote Command Execution (RCE) Vulnerability

Priority MEDIUM 52CWE-917Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-917.

Summary

SOFARPC is a Java RPC framework. Versions prior to 5.11.0 are vulnerable to remote command execution. Through a carefully crafted payload, an attacker can achieve JNDI injection or system command execution. In the default configuration of the SOFARPC framework, a blacklist is used to filter out dangerous classes encountered during the deserialization process. However, the blacklist is not comprehensive, and an actor can exploit certain native JDK classes and common third-party packages to construct gadget chains capable of achieving JNDI injection or system command execution attacks. Version 5.11.0 contains a fix for this issue. As a workaround, users can add `-Drpc_serialize_blacklist_override=javax.sound.sampled.AudioFileFormat` to the blacklist.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01635 76th percentileScored 2026-11-07
Fix Fixed sofa-rpc (sofastack): 5.11.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
sofastacksofa-rpcbefore 5.11.05.11.0Patch availableCNA
  • sofa-rpc Vendorsofastack Affected before 5.11.0 Fixed in 5.11.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sofastack:sofarpc:*:*:*:*:*:*:*:*before 5.11.0Vulnerablesofastack
  • cpe:2.3:a:sofastack:sofarpc:*:*:*:*:*:*:*:* Versions before 5.11.0 Vulnerable ·sofastack

Remediation

  • Fix · CNA sofa-rpc (sofastack) Fixed in 5.11.0

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-41331

References

  • TI-2024-15655 SOFARPC Remote Command Execution(RCE) Vulnerbility CVSS 3.1CRITICAL 9.8

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences