Skip to content
Fencer Vulns
high 7.5

CVE-2023-43642 json

Missing upper bound check on chunk length in snappy-java

published 2023-09-25 3 y ago modified 2026-09-10 1 mo ago also GHSA-55g7-9cwv-5qfv , EUVD-2023-2424

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.2%
EPSS 1.2% chance of exploitation in 30 days, percentile 68%
public exploits
0
none known

Summary

snappy-java is a Java port of the snappy, a fast C++ compresser/decompresser developed by Google. The SnappyInputStream was found to be vulnerable to Denial of Service (DoS) attacks when decompressing data with a too large chunk size. Due to missing upper bound check on chunk length, an unrecoverable fatal error can occur. All versions of snappy-java including the latest released version 1.1.10.3 are vulnerable to this issue. A fix has been introduced in commit `9f8c3cf74` which will be included in the 1.1.10.4 release. Users are advised to upgrade. Users unable to upgrade should only accept compressed data from trusted sources.

Patch / fix

  • maven org.xerial.snappy:snappy-java 1.1.10.4
  • xerial snappy-java 1.1.10.4
  • snappy-java Debian 14, Debian 13 1.1.10.5-1

debian advisories DEBIAN-CVE-2023-43642

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-43642 updated cvss 7.5

snappy-java: Missing upper bound check on chunk length in snappy-java can lead to Denial of Service (DoS) impact

  • Red Hat OpenShift Serverless snappy-java
    affected: no fix available
  • Red Hat Enterprise Linux 8 log4j, log4j-jcl, log4j-web, log4j-slf4j Red Hat Enterprise Linux 9 log4j, log4j-jcl, log4j-slf4j
    affected: no fix planned “Will not fix”
  • Red Hat JBoss Fuse 6 snappy-java-all snappy-java-all, snappy-java-all-repolib snappy-java-all-repolib Red Hat JBoss Fuse Service Works 6 snappy-java-all snappy-java-all, snappy-java-all-repolib snappy-java-all-repolib Red Hat OpenShift Container Platform 3.11 openshift3/ose-metrics-cassandra Red Hat Satellite 6 snappy-java
    affected: no fix planned “Out of support scope”
  • Red Hat Software Collections snappy-java
    affected: no fix planned “Will not fix”
  • Red Hat AMQ Streams 2.7.0
    fixed: vendor fix RHSA-2024:3527
  • Red Hat build of Quarkus 2.13.9
    fixed: vendor fix RHSA-2023:7700
  • Red Hat build of Quarkus 3.2.9.Final snappy-java 1.1.10.5-redhat-00001
    fixed: vendor fix RHSA-2023:7612
  • Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/elasticsearch6-rhel8 Red Hat build of Quarkus 3.2.9.Final jna 5.8.0, lit 2.7.4, bson 4.9.1, db2 1.18.3, h2 2.2.220, jdom 1.1.3, +1041 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
2 y ago

Exploit prediction

1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.xerial.snappy:snappy-java
<1.1.10.4
1.1.10.4

Affected products

  • xerial snappy-java

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.