Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Xerial | Snappy-Java | < 1.1.10.4 |
Related Weaknesses (CWE)
References
- https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f1Patch
- https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfvExploit
- https://github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f1Patch
- https://github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfvExploit
FAQ
What is CVE-2023-43642?
CVE-2023-43642 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2023-43642?
CVE-2023-43642 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-43642?
Check the references section above for vendor advisories and patch information. Affected products include: Xerial Snappy-Java.