CVE-2023-43642Missing upper bound check on chunk length in snappy-java
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.
What to do
Fixed builds are available from Debian, Maven: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | snappy-java | Fix pending | UBUNTU-CVE-2023-43642 | |
| Ubuntu 26.04 | snappy-java | Under investigation | UBUNTU-CVE-2023-43642 | |
| Ubuntu 25.10 | snappy-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-43642 | |
| Ubuntu 24.04 | snappy-java | Under investigation | UBUNTU-CVE-2023-43642 | |
| Ubuntu 22.04 | snappy-java | Under investigation | UBUNTU-CVE-2023-43642 | |
| Ubuntu 20.04 | snappy-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-43642 | |
| Ubuntu 18.04 | snappy-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-43642 | |
| Ubuntu 16.04 | snappy-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-43642 | |
| Ubuntu 14.04 | snappy-java | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2023-43642 | |
| Debian 14 | snappy-java | Fixed | 1.1.10.5-1 | DEBIAN-CVE-2023-43642 |
| Debian 13 | snappy-java | Fixed | 1.1.10.5-1 | DEBIAN-CVE-2023-43642 |
| Debian 12 | snappy-java | Fix pending | DEBIAN-CVE-2023-43642 | |
| Red Hat Enterprise Linux 9 | log4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | log4j-jcl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | log4j-slf4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j-jcl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j-slf4j | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | log4j-web | Will not fix Will not fix | ||
| Maven library | org.xerial.snappy:snappy-java | Fixed | 1.1.10.4 | GHSA-55g7-9cwv-5qfv |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- xerial snappy-java: affected: < 1.1.10.4
References
- https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv
- https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.