Skip to content

Commit 6fd8398

Browse files
committed
Merge branch 'cassandra-4.1' into cassandra-5.0
* cassandra-4.1: Switch lz4-java to at.yawk.lz4 version due to CVE
2 parents 0136fc9 + 2d0fda4 commit 6fd8398

File tree

4 files changed

+17
-7
lines changed

4 files changed

+17
-7
lines changed

.build/cassandra-deps-template.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<artifactId>snappy-java</artifactId>
4646
</dependency>
4747
<dependency>
48-
<groupId>org.lz4</groupId>
48+
<groupId>at.yawk.lz4</groupId>
4949
<artifactId>lz4-java</artifactId>
5050
</dependency>
5151
<dependency>

.build/parent-pom-template.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@
294294
<version>1.1.10.4</version>
295295
</dependency>
296296
<dependency>
297-
<groupId>org.lz4</groupId>
297+
<groupId>at.yawk.lz4</groupId>
298298
<artifactId>lz4-java</artifactId>
299-
<version>1.8.0</version>
299+
<version>1.10.1</version>
300300
</dependency>
301301
<dependency>
302302
<groupId>com.github.luben</groupId>
@@ -746,7 +746,7 @@
746746
<dependency>
747747
<groupId>io.netty</groupId>
748748
<artifactId>netty-all</artifactId>
749-
<version>4.1.119.Final</version>
749+
<version>4.1.130.Final</version>
750750
<exclusions>
751751
<exclusion>
752752
<groupId>io.netty</groupId>
@@ -840,18 +840,18 @@
840840
<dependency>
841841
<groupId>io.netty</groupId>
842842
<artifactId>netty-transport-native-epoll</artifactId>
843-
<version>4.1.119.Final</version>
843+
<version>4.1.130.Final</version>
844844
</dependency>
845845
<dependency>
846846
<groupId>io.netty</groupId>
847847
<artifactId>netty-transport-native-epoll</artifactId>
848-
<version>4.1.119.Final</version>
848+
<version>4.1.130.Final</version>
849849
<classifier>linux-x86_64</classifier>
850850
</dependency>
851851
<dependency>
852852
<groupId>io.netty</groupId>
853853
<artifactId>netty-transport-native-epoll</artifactId>
854-
<version>4.1.119.Final</version>
854+
<version>4.1.130.Final</version>
855855
<classifier>linux-aarch_64</classifier>
856856
</dependency>
857857

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Merged from 4.1:
77
* Disk usage guardrail cannot be disabled when failure threshold is reached (CASSANDRA-21057)
88
* ReadCommandController should close fast to avoid deadlock when building secondary index (CASSANDRA-19564)
99
Merged from 4.0:
10+
* Switch lz4-java to at.yawk.lz4 version due to CVE (CASSANDRA-20152)
1011
* Restrict BytesType compatibility to scalar types only (CASSANDRA-20982)
1112
* Backport fix to nodetool gcstats output for direct memory (CASSANDRA-21037)
1213
* ArrayIndexOutOfBoundsException with repaired data tracking and counters (CASSANDRA-20871)

NEWS.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,15 @@ restore snapshots created with the previous major version using the
6565
'sstableloader' tool. You can upgrade the file format of your snapshots
6666
using the provided 'sstableupgrade' tool.
6767

68+
5.0.7
69+
======
70+
71+
Upgrading
72+
---------
73+
- This release addresses a security vulnerability in the LZ4 dependency, documented in CASSANDRA-21052. For users
74+
who did not use LZ4 native libraries, this will now fallback to a safer but less performant pure Java
75+
implementation. During startup, a warning will be logged if the LZ4 native library is not available.
76+
6877
5.0.5
6978
=====
7079

0 commit comments

Comments
 (0)