Skip to content

Commit 3a1b832

Browse files
committed
fix(security): Override vulnerable lz4-java dependency to address CVE-2025-12183
1 parent a4a4b3d commit 3a1b832

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,6 +2071,12 @@
20712071
</exclusions>
20722072
</dependency>
20732073

2074+
<dependency>
2075+
<groupId>at.yawk.lz4</groupId>
2076+
<artifactId>lz4-java</artifactId>
2077+
<version>1.10.2</version>
2078+
</dependency>
2079+
20742080
<dependency>
20752081
<groupId>org.apache.httpcomponents</groupId>
20762082
<artifactId>httpclient</artifactId>

presto-druid/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
<dependency>
4545
<groupId>at.yawk.lz4</groupId>
4646
<artifactId>lz4-java</artifactId>
47-
<version>1.10.2</version>
4847
</dependency>
4948
<dependency>
5049
<groupId>org.mozilla</groupId>

presto-kafka/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,19 @@
7272
<dependency>
7373
<groupId>org.apache.kafka</groupId>
7474
<artifactId>kafka-clients</artifactId>
75+
<exclusions>
76+
<exclusion>
77+
<groupId>org.lz4</groupId>
78+
<artifactId>lz4-java</artifactId>
79+
</exclusion>
80+
</exclusions>
81+
</dependency>
82+
83+
<!-- CVE-2025-12183: Override vulnerable lz4-java from kafka-clients -->
84+
<dependency>
85+
<groupId>at.yawk.lz4</groupId>
86+
<artifactId>lz4-java</artifactId>
87+
<scope>runtime</scope>
7588
</dependency>
7689

7790
<dependency>

presto-pinot-toolkit/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@
119119
<dependency>
120120
<groupId>at.yawk.lz4</groupId>
121121
<artifactId>lz4-java</artifactId>
122-
<version>1.10.2</version>
123122
<scope>runtime</scope>
124123
</dependency>
125124

0 commit comments

Comments
 (0)