Skip to content

Commit d7b1299

Browse files
authored
Fix CVE-2025-24970 vulnerability issue (#794)
Update the io.netty transitive dependencies to 4.1.119.Final in order to fix the CVE-2025-24970 vulnerability issue.
1 parent 54a2b1c commit d7b1299

File tree

3 files changed

+76
-0
lines changed

3 files changed

+76
-0
lines changed

infrastructures/kubernetes/pom.xml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,33 @@
208208
<groupId>io.fabric8</groupId>
209209
<artifactId>kubernetes-client</artifactId>
210210
<scope>test</scope>
211+
<!-- Fix CVE-2025-24970 -->
212+
<exclusions>
213+
<exclusion>
214+
<artifactId>netty-handler</artifactId>
215+
<groupId>io.netty</groupId>
216+
</exclusion>
217+
<exclusion>
218+
<artifactId>netty-resolver</artifactId>
219+
<groupId>io.netty</groupId>
220+
</exclusion>
221+
<exclusion>
222+
<artifactId>netty-buffer</artifactId>
223+
<groupId>io.netty</groupId>
224+
</exclusion>
225+
<exclusion>
226+
<artifactId>netty-transport</artifactId>
227+
<groupId>io.netty</groupId>
228+
</exclusion>
229+
<exclusion>
230+
<artifactId>netty-codec</artifactId>
231+
<groupId>io.netty</groupId>
232+
</exclusion>
233+
<exclusion>
234+
<artifactId>netty-common</artifactId>
235+
<groupId>io.netty</groupId>
236+
</exclusion>
237+
</exclusions>
211238
</dependency>
212239
<dependency>
213240
<groupId>io.fabric8</groupId>
@@ -219,6 +246,11 @@
219246
<artifactId>mockwebserver</artifactId>
220247
<scope>test</scope>
221248
</dependency>
249+
<dependency>
250+
<groupId>io.netty</groupId>
251+
<artifactId>netty-handler</artifactId>
252+
<scope>test</scope>
253+
</dependency>
222254
<dependency>
223255
<groupId>io.rest-assured</groupId>
224256
<artifactId>rest-assured</artifactId>

infrastructures/openshift/pom.xml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@
5353
<dependency>
5454
<groupId>io.fabric8</groupId>
5555
<artifactId>openshift-client</artifactId>
56+
<exclusions>
57+
<exclusion>
58+
<artifactId>netty-handler</artifactId>
59+
<groupId>io.netty</groupId>
60+
</exclusion>
61+
</exclusions>
5662
</dependency>
5763
<dependency>
5864
<groupId>io.fabric8</groupId>
@@ -147,6 +153,11 @@
147153
<artifactId>jakarta.servlet-api</artifactId>
148154
<scope>provided</scope>
149155
</dependency>
156+
<dependency>
157+
<groupId>io.netty</groupId>
158+
<artifactId>netty-handler</artifactId>
159+
<scope>runtime</scope>
160+
</dependency>
150161
<dependency>
151162
<groupId>ch.qos.logback</groupId>
152163
<artifactId>logback-classic</artifactId>
@@ -167,6 +178,33 @@
167178
<groupId>io.fabric8</groupId>
168179
<artifactId>mockwebserver</artifactId>
169180
<scope>test</scope>
181+
<!-- Fix CVE-2025-24970 -->
182+
<exclusions>
183+
<exclusion>
184+
<artifactId>netty-handler</artifactId>
185+
<groupId>io.netty</groupId>
186+
</exclusion>
187+
<exclusion>
188+
<artifactId>netty-resolver</artifactId>
189+
<groupId>io.netty</groupId>
190+
</exclusion>
191+
<exclusion>
192+
<artifactId>netty-buffer</artifactId>
193+
<groupId>io.netty</groupId>
194+
</exclusion>
195+
<exclusion>
196+
<artifactId>netty-transport</artifactId>
197+
<groupId>io.netty</groupId>
198+
</exclusion>
199+
<exclusion>
200+
<artifactId>netty-codec</artifactId>
201+
<groupId>io.netty</groupId>
202+
</exclusion>
203+
<exclusion>
204+
<artifactId>netty-common</artifactId>
205+
<groupId>io.netty</groupId>
206+
</exclusion>
207+
</exclusions>
170208
</dependency>
171209
<dependency>
172210
<groupId>org.eclipse.che.core</groupId>

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
<io.jaegertracing.version>1.8.1</io.jaegertracing.version>
7373
<io.jsonwebtoken.jjwt.version>0.11.2</io.jsonwebtoken.jjwt.version>
7474
<io.micrometer.version>1.11.4</io.micrometer.version>
75+
<io.netty.version>4.1.119.Final</io.netty.version>
7576
<io.opentracing.api.extensions.version>0.6.0</io.opentracing.api.extensions.version>
7677
<io.opentracing.concurrent.version>0.4.0</io.opentracing.concurrent.version>
7778
<io.opentracing.contrib.metrics.version>0.3.0</io.opentracing.contrib.metrics.version>
@@ -367,6 +368,11 @@
367368
<artifactId>micrometer-registry-prometheus</artifactId>
368369
<version>${io.micrometer.version}</version>
369370
</dependency>
371+
<dependency>
372+
<groupId>io.netty</groupId>
373+
<artifactId>netty-handler</artifactId>
374+
<version>${io.netty.version}</version>
375+
</dependency>
370376
<dependency>
371377
<groupId>io.opentracing</groupId>
372378
<artifactId>opentracing-api</artifactId>

0 commit comments

Comments
 (0)