This is an automated email from the ASF dual-hosted git repository.

pefernan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/main by this push:
     new 17a4539a5ec [NO-ISSUE] Fix netty-related CVE (`CVE-2025-25193` & 
`CVE-2025-24970`). (#2955)
17a4539a5ec is described below

commit 17a4539a5ec1021d2c40cb23aaeee217b3833b6a
Author: Pere Fernández <[email protected]>
AuthorDate: Tue Mar 4 15:29:35 2025 +0100

    [NO-ISSUE] Fix netty-related CVE (`CVE-2025-25193` & `CVE-2025-24970`). 
(#2955)
---
 .../dev-deployment-kogito-quarkus-blank-app/pom.xml   | 19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git a/packages/dev-deployment-kogito-quarkus-blank-app/pom.xml 
b/packages/dev-deployment-kogito-quarkus-blank-app/pom.xml
index cde260e9131..9efb50265ec 100644
--- a/packages/dev-deployment-kogito-quarkus-blank-app/pom.xml
+++ b/packages/dev-deployment-kogito-quarkus-blank-app/pom.xml
@@ -50,9 +50,6 @@
     <version.maven.resources.plugin>3.3.1</version.maven.resources.plugin>
     <version.maven.site.plugin>3.21.0</version.maven.site.plugin>
     <version.maven.surefire.plugin>3.5.0</version.maven.surefire.plugin>
-    <!-- Temporary declaring xstream dependency, a version (1.4.20) is 
transitively imported by Quarkus 3.8 affected by CVE
-      When upgrading Quarkus (> 3.15.x) to a new version, please evaluate if 
this exclusion can be removed   -->
-    <version.com.thoughtworks.xstream>1.4.21</version.com.thoughtworks.xstream>
 
     <!-- Config -->
     <maven.compiler.parameters>true</maven.compiler.parameters>
@@ -64,6 +61,7 @@
     <version.org.iq80.snappy>0.5</version.org.iq80.snappy>
     <version.commons-io>2.16.1</version.commons-io>
     <version.com.google.protobuf>3.25.5</version.com.google.protobuf>
+    <version.io.netty>4.1.118.Final</version.io.netty>
   </properties>
 
   <dependencyManagement>
@@ -87,12 +85,17 @@
         <artifactId>jbpm-with-drools-quarkus</artifactId>
         <version>${version.org.kie.kogito}</version>
       </dependency>
-      <!-- Temporary declaring xstream dependency, a version (1.4.20) is 
transitively imported by Quarkus 3.8 affected by CVE
-           When upgrading Quarkus (> 3.15.x) to a new version, please evaluate 
if this exclusion can be removed   -->
+
+      <!-- Increasing netty-handler and netty-common version to fix 
CVE-2025-25193 & CVE-2025-24970 -->
+      <dependency>
+        <groupId>io.netty</groupId>
+        <artifactId>netty-handler</artifactId>
+        <version>${version.io.netty}</version>
+      </dependency>
       <dependency>
-        <groupId>com.thoughtworks.xstream</groupId>
-        <artifactId>xstream</artifactId>
-        <version>${version.com.thoughtworks.xstream}</version>
+        <groupId>io.netty</groupId>
+        <artifactId>netty-common</artifactId>
+        <version>${version.io.netty}</version>
       </dependency>
     </dependencies>
   </dependencyManagement>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to