CVE-2023-45146
Java vulnerability analysis and mitigation

Overview

XXL-RPC, a high performance distributed RPC framework, contains a critical vulnerability (CVE-2023-45146) discovered in October 2023. The vulnerability affects all versions up to and including 1.7.0 when using the Netty framework with Hessian serialization mechanism. This vulnerability has not been fixed as of the latest reports (GitHub Advisory, NVD).

Technical details

The vulnerability stems from unsafe deserialization in HessianSerializer.java. When configured with a Netty server and Hessian deserializer, the system directly passes incoming message data to Hessian2Input.readObject for deserialization without proper validation. XXL-RPC uses com.caucho's implementation of Hessian, which is known to be vulnerable to unsafe deserialization. The vulnerability has been assigned a CVSS v3.1 base score of 10.0 (CRITICAL) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H and is classified as CWE-502 (Deserialization of Untrusted Data) (GitHub Advisory, NVD).

Impact

This vulnerability can lead to Remote Code Execution (RCE), allowing attackers to take control of the machine running the server. When exploited, attackers can connect to the server and provide malicious serialized objects that, once deserialized, force the system to execute arbitrary code (GitHub Advisory).

Mitigation and workarounds

Currently, there is no official fix available for this vulnerability. The issue remains unpatched in the latest versions of XXL-RPC. While some alternative implementations like sofa-hessian attempt to mitigate similar issues through disallow lists of forbidden objects, this approach is not considered a perfect solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14306CRITICAL10
  • JavaJava
  • net.sf.robocode:robocode.core
NoYesDec 09, 2025
CVE-2025-14307CRITICAL9.3
  • JavaJava
  • net.sf.robocode:robocode.battle
NoYesDec 09, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management