CVE-2024-58103
Java vulnerability analysis and mitigation

Overview

Square Wire before version 5.2.0 contains a vulnerability related to nested groups in ByteArrayProtoReader32.kt and ProtoReader.kt components, where the software does not enforce a recursion limit. This vulnerability was assigned CVE-2024-58103 and was disclosed on March 16, 2025 (NVD).

Technical details

The vulnerability stems from the lack of recursion limit enforcement when processing nested groups in two key components: ByteArrayProtoReader32.kt and ProtoReader.kt. The issue has been assigned a CVSS v3.1 base score of 5.8 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:L. The vulnerability is classified as CWE-674 (Uncontrolled Recursion) (NVD).

Impact

When exploited, this vulnerability could lead to uncontrolled recursion, potentially causing system resource exhaustion and denial of service conditions. The lack of recursion limits in nested group processing could allow attackers to create maliciously crafted inputs that trigger excessive recursive operations (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Square Wire version 5.2.0. The fix implements a recursion limit check for nested groups in both ByteArrayProtoReader32.kt and ProtoReader.kt. Users should upgrade to version 5.2.0 or later to receive the security fix (Wire Release).

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-55749HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-tool-jetty-resources
NoYesDec 01, 2025
CVE-2025-64775HIGH7.5
  • JavaJava
  • javapackages-tools:201801::guice-servlet
NoYesDec 01, 2025
CVE-2025-13806MEDIUM6.9
  • JavaJava
  • org.nutz:nutzboot-parent
NoNoDec 01, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025
CVE-2025-13472MEDIUM5.3
  • JavaJava
  • com.blazemeter.plugins:blazemeterjenkinsplugin
NoYesDec 03, 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