Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-38784][CORE] Upgrade Jetty to 9.4.46 #36229

Closed
wants to merge 2 commits into from

Conversation

srowen
Copy link
Member

@srowen srowen commented Apr 16, 2022

What changes were proposed in this pull request?

Upgrade Jetty to 9.4.46

Why are the changes needed?

Three CVEs, which don't necessarily appear to affect Spark, are fixed in this version. Just housekeeping.
CVE-2021-28169
CVE-2021-34428
CVE-2021-34429

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing tests

@srowen srowen self-assigned this Apr 16, 2022
@github-actions github-actions bot added the BUILD label Apr 16, 2022
dongjoon-hyun
dongjoon-hyun previously approved these changes Apr 17, 2022
@@ -139,7 +139,7 @@
<derby.version>10.14.2.0</derby.version>
<parquet.version>1.12.2</parquet.version>
<orc.version>1.7.4</orc.version>
<jetty.version>9.4.44.v20210927</jetty.version>
<jetty.version>9.4.46.v20220331</jetty.version>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, could you update the dependency manifest?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, I thought it didn't generate changes when I ran, but it does. (Actually it caused a bunch of unrelated changes in the hadoop 2 profile, but I reverted those.) Added.

Copy link
Member

@dongjoon-hyun dongjoon-hyun Apr 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it was a bug of Apache Maven 3.8.5. If you use the latest version (like Home-brew maven), it ignores the dependency from profiles. Recently, I uninstalled man from Homebrew and use build/mvnw always to avoid that issue.

@dongjoon-hyun dongjoon-hyun self-requested a review April 17, 2022 01:07
@dongjoon-hyun dongjoon-hyun dismissed their stale review April 17, 2022 01:07

dependency check failure.

Copy link
Member

@dongjoon-hyun dongjoon-hyun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, LGTM. Thank you for updating, @srowen .
Merged to master/3.3

cc @MaxGekk

dongjoon-hyun pushed a commit that referenced this pull request Apr 17, 2022
### What changes were proposed in this pull request?

Upgrade Jetty to 9.4.46

### Why are the changes needed?

Three CVEs, which don't necessarily appear to affect Spark, are fixed in this version. Just housekeeping.
CVE-2021-28169
CVE-2021-34428
CVE-2021-34429

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

Existing tests

Closes #36229 from srowen/SPARK-38784.

Authored-by: Sean Owen <srowen@gmail.com>
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
(cherry picked from commit 619b7b4)
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
@srowen srowen deleted the SPARK-38784 branch April 21, 2022 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants