Skip to content

Commit 46e9b3f

Browse files
committed
restored okio lib
1 parent ba2dd44 commit 46e9b3f

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
5858

5959
<kubernetes-client.version>7.4.0</kubernetes-client.version>
60+
<okio.version>1.17.6</okio.version>
6061
</properties>
6162

6263
<dependencies>
@@ -100,6 +101,17 @@
100101
<artifactId>kubernetes-client-api</artifactId>
101102
<version>${kubernetes-client.version}</version>
102103
</dependency>
104+
<dependency>
105+
<!--
106+
We bump this here to get rid of a critical CVE in okio 1.15 which we get via kubernetes-client.
107+
We tried understanding _why_ we get 1.15 as dependency:tree for kubernetes-client says we should be getting 1.17.6.
108+
As we failed to understand this we did this short/medium term fix of adding an explicit dependency here which should override the one coming from kubernetes-client.
109+
This can be removed again as soon as we get the proper version from kubernetes-client.
110+
-->
111+
<groupId>com.squareup.okio</groupId>
112+
<artifactId>okio</artifactId>
113+
<version>${okio.version}</version>
114+
</dependency>
103115
<!-- End of needed by topology-provider -->
104116
<dependency>
105117
<groupId>junit</groupId>

0 commit comments

Comments
 (0)