Skip to content

Commit 7dc41bc

Browse files
authored
Address CVE-2025-66566. update lz4 version (databricks#1142)
## Description <!-- Provide a brief summary of the changes made and the issue they aim to address.--> Address CVE https://github.com/databricks/databricks-jdbc/security/dependabot/3. update lz4 to suggested version https://mvnrepository.com/artifact/at.yawk.lz4/lz4-java/1.10.1 ## Testing <!-- Describe how the changes have been tested--> existing tests ## Additional Notes to the Reviewer <!-- Share any additional context or insights that may help the reviewer understand the changes better. This could include challenges faced, limitations, or compromises made during the development process. Also, mention any areas of the code that you would like the reviewer to focus on specifically. -->
1 parent f9acb0e commit 7dc41bc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

NEXT_CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
### Fixed
1212
- Fix timeout exception handling to throw `SQLTimeoutException` instead of `DatabricksSQLException` when queries timeout.
1313
- Removes dangerous global timezone modification that caused race conditions.
14+
- CVE-2025-66566. Updated lz4-java dependency to 1.10.1.
1415

1516
---
1617
*Note: When making changes, please add your change under the appropriate section with a brief description.*

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
<databricks-sdk.version>0.69.0</databricks-sdk.version>
6262
<maven-surefire-plugin.version>3.1.2</maven-surefire-plugin.version>
6363
<sql-logic-test.version>0.3</sql-logic-test.version>
64-
<lz4-compression.version>1.8.1</lz4-compression.version>
64+
<lz4-compression.version>1.10.1</lz4-compression.version>
6565
<thrift.version>0.19.0</thrift.version>
6666
<annotation.version>1.3.5</annotation.version>
6767
<slt.executor>dbsql</slt.executor>
@@ -230,7 +230,7 @@
230230
<scope>test</scope>
231231
</dependency>
232232
<dependency>
233-
<groupId>org.lz4</groupId>
233+
<groupId>at.yawk.lz4</groupId>
234234
<artifactId>lz4-java</artifactId>
235235
<version>${lz4-compression.version}</version>
236236
</dependency>

thin_public_pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@
168168

169169
<!-- Compression -->
170170
<dependency>
171-
<groupId>org.lz4</groupId>
171+
<groupId>at.yawk.lz4</groupId>
172172
<artifactId>lz4-java</artifactId>
173-
<version>1.8.1</version>
173+
<version>1.10.1</version>
174174
</dependency>
175175

176176
<!-- gRPC Context -->

0 commit comments

Comments
 (0)