Wiz Agents & Workflows are here

CVE-2023-34455
Java vulnerability analysis and mitigation

Overview

CVE-2023-34455 affects snappy-java, a fast compressor/decompressor for Java, in versions prior to 1.1.10.1. The vulnerability was discovered by Ori Hollander of the JFrog Security Research Team and disclosed on June 14, 2023. The issue exists in the hasNextChunk function within fileSnappyInputStream.java, where an unchecked chunk length can lead to an unrecoverable fatal error (GitHub Advisory).

Technical details

The vulnerability occurs in the hasNextChunk function where the code attempts to read 4 bytes and treats them as the length of the next chunk without properly validating the input. When the 'compressed' variable is null, a byte array is allocated with the size given by the input data. Due to the lack of validation on the 'chunkSize' variable, it's possible to pass a negative number (such as 0xFFFFFFFF which is -1) or a large positive value (such as 0x7FFFFFFF). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

Successful exploitation of this vulnerability can lead to a Denial of Service (DoS) condition. When exploited, the vulnerability can cause either a java.lang.NegativeArraySizeException exception or a fatal java.lang.OutOfMemoryError, making the application unresponsive (GitHub Advisory, NetApp Advisory).

Mitigation and workarounds

The vulnerability has been patched in snappy-java version 1.1.10.1. Users are strongly recommended to upgrade to this version or later. The fix includes proper validation of chunk sizes before allocation attempts (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-2026-34361CRITICAL9.3
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.validation
NoYesMar 30, 2026
CVE-2026-34214HIGH7.7
  • JavaJava
  • trino
NoYesMar 29, 2026
CVE-2026-34359HIGH7.4
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026
CVE-2026-34237MEDIUM6.1
  • JavaJava
  • io.modelcontextprotocol.sdk:mcp-core
NoYesMar 30, 2026
CVE-2026-34360MEDIUM5.8
  • JavaJava
  • ca.uhn.hapi.fhir:org.hl7.fhir.core
NoYesMar 30, 2026

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