Skip to content

Commit eed9e88

Browse files
authored
Upgrade to okio 1.17.6 to get rid of CVE (#46)
* Upgrade to okio 1.17.6 to get rid of CVE * Update changelog * Fix markdownlint
1 parent 36fda8c commit eed9e88

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
## [Unreleased]
66

7+
### Changed
8+
9+
- Bump okio to 1.17.6 to get rid of CVE-2023-3635 ([#46])
10+
11+
[#46]: https://github.com/stackabletech/hdfs-utils/pull/46
12+
713
## [0.3.0] - 2024-07-04
814

915
### Added

pom.xml

+15-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@
4949
<maven-site-plugin.version>3.12.1</maven-site-plugin.version>
5050
<maven-surefire-plugin.version>3.3.1</maven-surefire-plugin.version>
5151
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
52+
<kubernetes-client.version>6.13.1</kubernetes-client.version>
53+
<okio.version>1.17.6</okio.version>
5254
</properties>
5355

5456
<dependencies>
@@ -85,12 +87,23 @@
8587
<dependency>
8688
<groupId>io.fabric8</groupId>
8789
<artifactId>kubernetes-client</artifactId>
88-
<version>6.13.1</version>
90+
<version>${kubernetes-client.version}</version>
8991
</dependency>
9092
<dependency>
9193
<groupId>io.fabric8</groupId>
9294
<artifactId>kubernetes-client-api</artifactId>
93-
<version>6.13.1</version>
95+
<version>${kubernetes-client.version}</version>
96+
</dependency>
97+
<dependency>
98+
<!--
99+
We bump this here to get rid of a critical CVE in okio 1.15 which we get via kubernetes-client.
100+
We tried understanding _why_ we get 1.15 as dependency:tree for kubernetes-client says we should be getting 1.17.6.
101+
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.
102+
This can be removed again as soon as we get the proper version from kubernetes-client.
103+
-->
104+
<groupId>com.squareup.okio</groupId>
105+
<artifactId>okio</artifactId>
106+
<version>${okio.version}</version>
94107
</dependency>
95108
<!-- End of needed by topology-provider -->
96109
<dependency>

0 commit comments

Comments
 (0)