CVE-2023-41331
Last modified
CVE-2023-41331 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. SOFARPC is a Java RPC framework. Versions prior to 5.11.0 are vulnerable to remote command execution. EPSS estimates a 1.34% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sofastack | Sofarpc | < 5.11.0 |
References
- https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86Mitigation, Vendor Advisory
- https://github.com/sofastack/sofa-rpc/security/advisories/GHSA-chv2-7hxj-2j86Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-41331?
How severe is CVE-2023-41331?
How do I fix CVE-2023-41331?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-41326GLPI stands for Gestionnaire Libre de Parc Informatique is a…8.8
- CVE-2023-41327WireMock is a tool for mocking HTTP services. WireMock can b…5.4
- CVE-2023-41328Frappe is a low code web framework written in Python and Jav…7.5
- CVE-2023-41329WireMock is a tool for mocking HTTP services. The proxy mode…6.6
- CVE-2023-4133A use-after-free vulnerability was found in the cxgb4 driver…5.5
- CVE-2023-41330knplabs/knp-snappy is a PHP library allowing thumbnail, snap…9.8
- CVE-2023-41332Cilium is a networking, observability, and security solution…3.5
- CVE-2023-41333Cilium is a networking, observability, and security solution…8.1
- CVE-2023-41334Astropy is a project for astronomy in Python that fosters in…8.4
- CVE-2023-41335Synapse is an open-source Matrix homeserver written and main…3.7
- CVE-2023-41336ux-autocomplete is a JavaScript Autocomplete functionality f…6.5
- CVE-2023-41337h2o is an HTTP server with support for HTTP/1.x, HTTP/2 and …6.7
Are you affected by CVE-2023-41331?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
