Missing upper bound check on chunk length in snappy-java
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 3 fixed, 8 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| xerial | snappy-java | before 1.1.10.4 | 1.1.10.4 | Patch available | CNA |
| — | org.xerial.snappy:snappy-java (Maven) | before 1.1.10.4 | 1.1.10.4 | Patch available | GHSA-55g7-9cwv-5qfv |
- snappy-java Vendorxerial Affected before 1.1.10.4 Fixed in 1.1.10.4 Patch available CNA
- org.xerial.snappy:snappy-java (Maven) Vendor— Affected before 1.1.10.4 Fixed in 1.1.10.4 Patch available GHSA-55g7-9cwv-5qfv
Remediation
- Fix · CNA snappy-java (xerial) Fixed in 1.1.10.4
- Fix · GHSA-55g7-9cwv-5qfv org.xerial.snappy:snappy-java (Maven) Fixed in 1.1.10.4 Advisory →
Red Hat 3 advisories
- RHSA-2024:3527 Released 2024-05-30 · Red Hat rating ModerateRed Hat AMQ Streams 2.7.0 release and security update
- Red Hat AMQ Streams 2.7.0
- RHSA-2023:7700 Released 2023-12-07 · Red Hat rating ImportantRed Hat build of Quarkus 2.13.9 release and security update
- Red Hat build of Quarkus 2.13.9
- RHSA-2023:7612 Released 2023-11-30 · Red Hat rating ImportantRed Hat build of Quarkus 3.2.9 release and security update
- Red Hat build of Quarkus 3.2.9.Final io.quarkus.quarkus-smallrye-graphql-3.2.9.Final-redhat-00002.jar, org.apache.avro.avro-1.11.3.redhat-00002.jar, org.xerial.snappy.snappy-java-1.1.10.5-redhat-00001.jar
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| OpenShift Serverless | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 9 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Fuse 6 | Affected | No fix planned: Out of support scope |
| Red Hat JBoss Fuse Service Works 6 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 3.11 | Affected | No fix planned: Out of support scope |
| Red Hat Satellite 6 | Affected | No fix planned: Out of support scope |
| Red Hat Software Collections | Affected | No fix planned: Will not fix |
| Red Hat AMQ Streams 2.7.0 | Fixed | RHSA-2024:3527 |
| Red Hat build of Quarkus 2.13.9 | Fixed | RHSA-2023:7700 |
| Red Hat build of Quarkus 3.2.9.Final | Fixed | RHSA-2023:7612 |
Not affected: 2 products
- Logging Subsystem for Red Hat OpenShift
- Red Hat build of Quarkus 3.2.9.Final
Timeline
- 2026-10-02 Threatist record created from CVE-2023-43642
- 2026-10-03 Alias added: GHSA-55g7-9cwv-5qfv
- 2026-10-20 Fix available: Red Hat build of Quarkus 2.13.9 · Red Hat
References
More xerial Snappy-java vulnerabilities
- TI-2023-17281 snappy-java's unchecked chunk length leads to DoS CVSS 3.1HIGH 7.5
- TI-2023-17280 snappy-java's Integer Overflow vulnerability in compress leads to DoS CVSS 3.1HIGH 7.5
- TI-2023-17279 snappy-java's Integer Overflow vulnerability in shuffle leads to DoS CVSS 3.1HIGH 7.5
Sources
- CVE-2023-43642 · CVE Program
- CVE-2023-43642 · NVD
- FIRST EPSS
- GHSA-55g7-9cwv-5qfv · GitHub Advisory Database · CC BY 4.0
- CVE-2023-43642 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences