Skip to content
OpenAdvisories
High · 7.5 CVE-2023-43642 EUVD-2023-2424GHSA-55g7-9cwv-5qfv

Missing upper bound check on chunk length in snappy-java

Published Sep 25, 2023 · Updated Sep 24, 2024 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
xerial snappy-java < 1.1.10.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 snappy-java 1.1.10.5-1 —
Debian 13 snappy-java 1.1.10.5-1 —
Debian 12 snappy-java No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 snappy-java No fix yet —
Ubuntu 26.04 LTS snappy-java No fix yet —
Ubuntu 25.10 snappy-java No fix yet —
Ubuntu 24.04 LTS snappy-java No fix yet —
Ubuntu 22.04 LTS snappy-java No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS snappy-java No fix yet —
Ubuntu 18.04 LTS snappy-java No fix yet —
Ubuntu 16.04 LTS snappy-java No fix yet —
Ubuntu 14.04 LTS snappy-java No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling druid 37.0.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xerial.snappy:snappy-java < 1.1.10.4 1.1.10.4 GHSA-55g7-9cwv-5qfv

Advisories 11

References