{"id":"CVE-2023-41331","url":"https://www.cyber-defence.io/tools/cve/CVE-2023-41331","generatedAt":"2026-10-28T02:17:10.568Z","title":"Versions prior to 5.11.0 are vulnerable to remote command execution.","description":"SOFARPC is a Java RPC framework. Versions prior to 5.11.0 are vulnerable to remote command execution. Through a carefully\ncrafted 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.","published":"2023-09-12T20:15:10.000Z","lastModified":"2026-06-17T06:21:50.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-917"],"affected":["sofastack/sofarpc"],"epss":{"score":0.01635,"percentile":0.76128,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (1.64%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0","tags":["Release Notes"],"source":"security-advisories@github.com"},{"url":"https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86","tags":["Mitigation","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/sofastack/sofa-rpc/releases/tag/v5.11.0","tags":["Release Notes"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86","tags":["Mitigation","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-41331","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}