Skip to content

Commit 27e96dd

Browse files
yifhuaroczei
authored andcommitted
[SPARK-45590][BUILD][3.5] Upgrade okio to 1.17.6 from 1.15.0 (apache#596)
Backport apache#47758 to 3.5 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#47769 from roczei/roczei/SPARK-45590-branch-3.5. Authored-by: Gabor Roczei <roczei@cloudera.com> Signed-off-by: Kent Yao <yao@apache.org> Co-authored-by: Gabor Roczei <roczei@cloudera.com>
1 parent 8b8e8a4 commit 27e96dd

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
@@ -219,7 +219,7 @@ netty-transport/4.1.96.Final//netty-transport-4.1.96.Final.jar
219219
netty/3.7.0.Final//netty-3.7.0.Final.jar
220220
objenesis/3.3//objenesis-3.3.jar
221221
okhttp/3.12.12//okhttp-3.12.12.jar
222-
okio/1.15.0//okio-1.15.0.jar
222+
okio/1.17.6//okio-1.17.6.jar
223223
opencsv/2.3//opencsv-2.3.jar
224224
opentracing-api/0.33.0//opentracing-api-0.33.0.jar
225225
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
@@ -247,6 +247,7 @@
247247
<!-- org.fusesource.leveldbjni will be used except on arm64 platform. -->
248248
<leveldbjni.group>org.fusesource.leveldbjni</leveldbjni.group>
249249
<kubernetes-client.version>6.7.2</kubernetes-client.version>
250+
<okio.version>1.17.6</okio.version>
250251

251252
<test.java.home>${java.home}</test.java.home>
252253

@@ -2890,6 +2891,11 @@
28902891
</exclusion>
28912892
</exclusions>
28922893
</dependency>
2894+
<dependency>
2895+
<groupId>com.squareup.okio</groupId>
2896+
<artifactId>okio</artifactId>
2897+
<version>${okio.version}</version>
2898+
</dependency>
28932899
</dependencies>
28942900
</dependencyManagement>
28952901

0 commit comments

Comments
 (0)