Uh oh!
There was an error while loading. Please reload this page.
[SPARK-38262][BUILD] Upgrade Google guava to version 30.0-jre - #35584
[SPARK-38262][BUILD] Upgrade Google guava to version 30.0-jre#35584bjornjorgensen wants to merge 1 commit into
Conversation
AmplabJenkins
commented
Feb 21, 2022
Can one of the admins verify this patch? |
| gmetric4j/1.0.10//gmetric4j-1.0.10.jar | ||
| gson/2.2.4//gson-2.2.4.jar | ||
| guava/14.0.1//guava-14.0.1.jar | ||
| guava/30.0-jre//guava-30.0-jre.jar |
There was a problem hiding this comment.
Any reason to not use the latest 31.0.1-jre version?
There was a problem hiding this comment.
Yes, this PR is just to get rid of two CVE. I do not want to destroy existing code base. If you are a developer who needs and uses some of what is in newer code, then I recommend that you implement this yourself when you need it.
LuciferYang
commented
Feb 21, 2022
In fact, many people have tried similar jobs, such as SPARK-36676, but due to the cascading dependence of third-party libraries on Guava 14.0.1 (such as hive-2.3.9 and hadoop-2.7.4), in order to ensure the compatibility, it is not possible to upgrade the Guava version directly like this pr. |
bjornjorgensen
commented
Feb 21, 2022
@LuciferYang Thank you :) I see that none of the other PRs that can be found have come up with the fact that today there are two CVEs for Google guava. What's a little weird about this is that I chose version 30.0-jre which is the first one without any known security holes. All the tests have passed. The difference is that for example 29326 or 33989 the tests fail. |
LuciferYang
commented
Feb 21, 2022
@bjornjorgensen Can you test with |
also ping @sunchao |
bjornjorgensen
commented
Feb 21, 2022
@LuciferYang Oh yes, that might explain why my tests get green. But if we look at the problem differently. We actually use hadoop-common-2.7.4.jar |
sunchao
commented
Feb 21, 2022
Not only Hadoop, but Hive 2.3.x also has dependency on Guava 14.0.1. For Hadoop we can at least change Guava version accordingly but there's no workaround for Hive. |
I have updated the JIRA for this issue SPARK-38262 I will close this PR now. Thanks to @medb@LuciferYang and @sunchao for the help on this one :) |
### What changes were proposed in this pull request? This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) ### Why are the changes needed? It's a long-standing issue, see prior discussions at #35584, #36231, and #33989 ### Does this PR introduce _any_ user-facing change? Yes, some user-faced error messages changed. ### How was this patch tested? GA passed. Closes#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d)
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d)
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d) (cherry picked from commit e5cc252)
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d)
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d)
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d)
This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d)
* #[Automated] Changed version from '3.2.3.5-2' to '3.2.3.6-2' * Point repositories and distributionManagement to odp-staging-central/staging-release * ODP-6148: Replace install with package in dev/make-distribution.sh file (#105) Co-authored-by: dilrajsourabh <dilrajsourabh@gmail.com> * OSV-12333 - CVE - Increasing hudi version to fix CVE-2020-36183 * OSV-12360 - CVE - Excluding avro from iceberg which pulles older version of avro to fix CVE-2023-39410 (#110) * OSV-12291 - CVE - Increasing avro version to 1.11.5 to fix CVE-2024-47561 (#111) * OSV-12299 - CVE - Increasing netty version to 4.1.130.Final to fix CVE-2025-55163 (#112) * OSV-12299 - CVE - Increasing protobuf version to 3.25.5 to fix CVE-2024-7254 * OSV-12299 - CVE - Increasing gcs-connector version to hadoop3-2.2.26 to fix CVE-2024-7254 * OSV-12373 - CVE - Explicit mention of jettison to fix CVE-2022-45693 (#115) * OSV-12373 - CVE - Increasing gcs-connector version to hadoop3-2.2.26 to fix CVE-2024-7254 * OSV-12373 - CVE - Explicit mention of jettison to fix CVE-2022-45693 * OSV-12358|ODP-3257: [SPARK-44811][BUILD] Upgrade Guava to 33.2.1-jre This PR upgrades Spark's built-in Guava from 14 to 33.2.1-jre Currently, Spark uses Guava 14 because the previous built-in Hive 2.3.9 is incompatible with new Guava versions. HIVE-27560 (apache/hive#4542) makes Hive 2.3.10 compatible with Guava 14+ (thanks to LuciferYang) It's a long-standing issue, see prior discussions at apache#35584, apache#36231, and apache#33989 Yes, some user-faced error messages changed. GA passed. Closesapache#42493 from pan3793/guava. Authored-by: Cheng Pan <chengpan@apache.org> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 1f24b2d) * OSV-12358|ODP-3257: [SPARK-50468][BUILD] Upgrade Guava to 33.3.1-jre This pr aims to upgrade guava from 33.2.1-jre to 33.3.1-jre The full release notes as follows: - https://github.com/google/guava/releases/tag/v33.3.0 - https://github.com/google/guava/releases/tag/v33.3.1 No Pass GitHub Actions No Closesapache#48976 from LuciferYang/guava-33.3.1-jre. Lead-authored-by: yangjie01 <yangjie01@baidu.com> Co-authored-by: YangJie <yangjie01@baidu.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit 6c84f15) * OSV-12358|ODP-3257: [SPARK-50972][BUILD] Upgrade Guava to 33.4.0 This pr aims to upgrade guava from 33.3.1-jre to 33.4.0-jire. The full release notes as follows: - https://github.com/google/guava/releases/tag/v33.4.0 No Pass GitHub Actions No Closesapache#49639 from LuciferYang/guava-33.4.0-jre. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> (cherry picked from commit a8a6078) * ODP-3257: Fix CVE-2023-2976 com.google.guava:guava in spark (docker-integration-test) - v2 (cherry picked from commit 4221e22) --------- Signed-off-by: Dongjoon Hyun <dongjoon@apache.org> Co-authored-by: dilrajsourabh <dilrajsourabh@gmail.com> Co-authored-by: Sourabh-Dilraj <141140754+Sourabh-Dilraj@users.noreply.github.com> Co-authored-by: Cheng Pan <chengpan@apache.org> Co-authored-by: yangjie01 <yangjie01@baidu.com> Co-authored-by: Prabhjyot Singh <prabhjyot@acceldata.io>
What changes were proposed in this pull request?
Bump Google guava from version 14.0.1 to 30.0-jre
Release notes for Google guava 30.0
Why are the changes needed?
Spark is using com.google.guava:guava version 14.0.1 which has two security issues.
CVE-2018-10237
CVE-2020-8908
Does this PR introduce any user-facing change?
NO
How was this patch tested?
All existing tests must pass.