Skip to content

Commit

Permalink
Explicitly declaring xstream to override a transitively imported vers…
Browse files Browse the repository at this point in the history
…ion affected by CVE (apache#3785)

* exclude_xstream

* Updated comment

* change

* change

* change

* change
  • Loading branch information
yesamer authored and rgdoliveira committed Nov 25, 2024
1 parent 89aa79f commit f7a1fda
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions kogito-build/kogito-dependencies-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@
<version.com.google.collections>1.0</version.com.google.collections>
<version.com.google.guava>33.0.0-jre</version.com.google.guava>
<version.apache.commons.commons-compress>1.26.1</version.apache.commons.commons-compress>
<!-- 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>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -451,6 +454,14 @@
<version>${version.jakarta.persistence-api}</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 -->
<dependency>
<groupId>com.thoughtworks.xstream</groupId>
<artifactId>xstream</artifactId>
<version>${version.com.thoughtworks.xstream}</version>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand Down

0 comments on commit f7a1fda

Please sign in to comment.