Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-15560

Change io.compressor.LZ4Compressor to LZ4SafeDecompressor

    XMLWordPrintableJSON

Details

    Description

      CASSANDRA-15556 and related tickets showed that LZ4FastDecompressor can crash the JVM and that LZ4SafeDecompressor performs better w/o the crash risk — its also not deprecated. While we protect ourselves by checksumming the compressed data but that doesn’t mean we should leave deprecated code that can segfault the jvm (providing a potential DDOS vector among other things) in crucial places like io.compress.

      Attachments

        Issue Links

          Activity

            People

              bereng Berenguer Blasi
              jwest Jordan West
              Berenguer Blasi
              Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h