Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xerial.snappy/snappy-java
  4. ›
  5. CVE-2023-43642

CVE-2023-43642: Allocation of Resources Without Limits or Throttling

September 25, 2023

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 is 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.

References

  • github.com/advisories/GHSA-55g7-9cwv-5qfv
  • github.com/xerial/snappy-java/commit/9f8c3cf74223ed0a8a834134be9c917b9f10ceb5
  • github.com/xerial/snappy-java/releases/tag/v1.1.10.4
  • github.com/xerial/snappy-java/security/advisories/GHSA-55g7-9cwv-5qfv
  • nvd.nist.gov/vuln/detail/CVE-2023-43642

Code Behaviors & Features

Detect and mitigate CVE-2023-43642 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.1.10.3

Fixed versions

  • 1.1.10.4

Solution

Upgrade to version 1.1.10.4 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

maven/org.xerial.snappy/snappy-java/CVE-2023-43642.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.