CVE-2023-34455
A public proof of concept exists; no exploitation attested.
- Published2023-06-15
- Fixed in1.1.10.1
- WeaknessCWE-770
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
snappy-java is a fast compressor/decompressor for Java. Due to use of an unchecked chunk length, an unrecoverable fatal error can occur in versions prior to 1.1.10.1. The code in the function hasNextChunk in the fileSnappyInputStream.java checks if a given stream has more chunks to read. It does that by attempting to read 4 bytes. If it wasn’t possible to read the 4 bytes, the function returns false. Otherwise, if 4 bytes were available, the code treats them as the length of the next chunk. In the case that the `compressed` variable is null, a byte array is allocated with the size given by the input data. Since the code doesn’t test the legality of the `chunkSize` variable, it is possible to pass a negative number (such as 0xFFFFFFFF which is -1), which will cause the code to raise a `java.lang.NegativeArraySizeException` exception. A worse case would happen when passing a huge positive value (such as 0x7FFFFFFF), which would raise the fatal `java.lang.OutOfMemoryError` error. Version 1.1.10.1 contains a patch for this issue.
Timeline
dates in UTC- 2023-06-1518:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.1 | < 1.1.10.1 | 1.1.10.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- xerial snappy-javaAffected
- = < 1.1.10.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-06-15
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- druidWolfiall versions · fixed in 37.0.0-r0
- druidChainguardall versions · fixed in 37.0.0-r0
- hadoop-fips-3.3.6Chainguardall versions · fixed in 3.3.6-r15
- hadoop-fips-3.3.6Chainguardall versions · fixed in 3.3.6-r21
- io.root.org.xerial.snappy:snappy-javaRoot:Mavenall versions · fixed in 1.1.10.0-root.io.1
- io.root.org.xerial.snappy:snappy-javaRoot:Mavenall versions · fixed in 1.1.10.0-root.io.2
- io.root.org.xerial.snappy:snappy-javaRoot:Mavenall versions · fixed in 1.1.10.1-root.io.1
- io.root.org.xerial.snappy:snappy-javaRoot:Mavenall versions · fixed in 1.1.10.1-root.io.2
20 more package ranges on OSV.dev
Vendor advisories
snappy-java: Unchecked chunk length leads to DoS
snappy-java as a component of OpenShift Serverless · snappy-java as a component of Red Hat build of Debezium 1 · snappy-java as a component of Red Hat build of Debezium 2 · +19 more
Red Hat Security Advisory: Red Hat AMQ Broker 7.12.0 release and security update
Red Hat Security Advisory: Red Hat Integration Camel K 1.10.5 release and security update
Red Hat Security Advisory: Red Hat build of Quarkus 2.13.9 release and security update
Red Hat Security Advisory: Service Registry (container images) release and security update [2.5.4 GA]
Red Hat Security Advisory: Red Hat AMQ Streams 2.5.0 release and security update
2 more advisories
Fix
- Update Xerial snappy-java to 1.1.10.1
- Vendor fix Red Hat Product Security RHSA-2024:6893 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2024:0148 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
- Vendor fix Red Hat Product Security RHSA-2023:7700 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:5147 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2023-34455 · 5 productsAffected
- No fix planned, says the vendor Red Hat Product Security CVE-2023-34455 · 5 productsOut of support scope
Advisories and patches
- github.comPatch
- github.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-12-11
- PoC-in-GitHubno public repository identifiedread 2026-11-08
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-12-11
- CNACVSS 3.17.5known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CNAweakness (CWE)CWE-770known since 2026-10-23
- NVDweakness (CWE)CWE-770read 2026-10-23
- FIRST EPSSEPSS score1.8 %2026-11-08
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2023-06-15
Identifiers
- CGA-65mp-gp77-9vgxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c9cq-m343-p6q5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rc8v-r4gg-cx54same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rxxc-8r3g-mww7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-v3c5-3785-2vqjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w3qm-9pm2-78mjsame flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2023-1867same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-qcwq-55hx-v3vhsame flawGitHub Advisory Database · CC-BY-4.0
- OESA-2023-1398advisory covering several CVEsopenEuler · LicenseRef-unstated
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2023-06-15
- Last Modified
- 2026-06-17
- NVD status
- Modified
- GitHub Advisory
- GHSA-qcwq-55hx-v3vh
Frequently asked questions
What is CVE-2023-34455?
Is CVE-2023-34455 actively exploited?
What is the CVSS score for CVE-2023-34455?
Running snappy-java? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-qcwq-55hx-v3vh
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0