Skip to content

Commit 2634be3

Browse files
roczeiprabhjyotsingh
authored andcommitted
[SPARK-45590][BUILD] Upgrade okio to 1.17.6 from 1.15.0
This PR aims to upgrade `okio` from 1.15.0 to 1.17.6. Okio 1.15.0 is vulnerable due to CVE-2023-3635, details: https://nvd.nist.gov/vuln/detail/CVE-2023-3635 Previous attempts to fix this security issue: Update okio to version 1.17.6 apache#5587: fabric8io/kubernetes-client#5587 Followup to Update okio to version 1.17.6 apache#5935: fabric8io/kubernetes-client#5935 Unfortunately it is still using 1.15.0: https://github.com/apache/spark/blob/v4.0.0-preview1/dev/deps/spark-deps-hadoop-3-hive-2.3#L227 https://github.com/apache/spark/blob/v3.5.2/dev/deps/spark-deps-hadoop-3-hive-2.3#L210 No. Pass the CIs. No. Closes apache#47758 from roczei/SPARK-45590. Authored-by: Gabor Roczei <[email protected]> Signed-off-by: Kent Yao <[email protected]> (cherry picked from commit c8cf394)
1 parent 9dc94e3 commit 2634be3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

dev/deps/spark-deps-hadoop-3-hive-2.3

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ netty-transport-native-unix-common/4.1.108.Final//netty-transport-native-unix-co
206206
netty-transport/4.1.108.Final//netty-transport-4.1.108.Final.jar
207207
objenesis/3.3//objenesis-3.3.jar
208208
okhttp/3.12.12//okhttp-3.12.12.jar
209-
okio/1.15.0//okio-1.15.0.jar
209+
okio/1.17.6//okio-1.17.6.jar
210210
opencsv/2.3//opencsv-2.3.jar
211211
opentracing-api/0.33.0//opentracing-api-0.33.0.jar
212212
opentracing-noop/0.33.0//opentracing-noop-0.33.0.jar

pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@
239239
<!-- org.fusesource.leveldbjni will be used except on arm64 platform. -->
240240
<leveldbjni.group>org.fusesource.leveldbjni</leveldbjni.group>
241241
<kubernetes-client.version>6.13.2</kubernetes-client.version>
242+
<okio.version>1.17.6</okio.version>
242243

243244
<test.java.home>${java.home}</test.java.home>
244245

@@ -2836,6 +2837,11 @@
28362837
<artifactId>arpack</artifactId>
28372838
<version>${netlib.ludovic.dev.version}</version>
28382839
</dependency>
2840+
<dependency>
2841+
<groupId>com.squareup.okio</groupId>
2842+
<artifactId>okio</artifactId>
2843+
<version>${okio.version}</version>
2844+
</dependency>
28392845
</dependencies>
28402846
</dependencyManagement>
28412847

0 commit comments

Comments
 (0)