Skip to main content
← All vulnerabilities
CVE-2023-43642GHSA-55G7-9CWV-5QFV

Missing upper bound check on chunk length in snappy-java

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.1.10.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • xerial snappy-java

    fixed in 1.1.10.4

  • org.xerial.snappy:snappy-javaMaven

    fixed in 1.1.10.4

References 2

GitHub · xerial/snappy-java