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-28713][BUILD] Bump checkstyle from 8.14 to 8.23 #25432

Closed
wants to merge 3 commits into from

Conversation

Fokko
Copy link
Contributor

@Fokko Fokko commented Aug 13, 2019

What changes were proposed in this pull request?

Fixes a vulnerability from the GitHub Security Advisory Database:

Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle
Checkstyle prior to 8.18 loads external DTDs by default, which can potentially lead to denial of service attacks or the leaking of confidential information.

checkstyle/checkstyle#6474

Affected versions: < 8.18

How was this patch tested?

Ran checkstyle locally.

@Fokko Fokko changed the title SPARK-28713: Bump checkstyle from 8.14 to 8.18 [SPARK-28713] Bump checkstyle from 8.14 to 8.18 Aug 13, 2019
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-28713] Bump checkstyle from 8.14 to 8.18 [SPARK-28713][BUILD] Bump checkstyle from 8.14 to 8.18 Aug 13, 2019
@dongjoon-hyun
Copy link
Member

ok to test

pom.xml Outdated Show resolved Hide resolved
pom.xml Show resolved Hide resolved
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-28713][BUILD] Bump checkstyle from 8.14 to 8.18 [SPARK-28713][BUILD] Bump checkstyle from 8.14 to 8.23 Aug 13, 2019
@SparkQA
Copy link

SparkQA commented Aug 13, 2019

Test build #109041 has finished for PR 25432 at commit 791842c.

  • This patch fails Spark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented Aug 13, 2019

Test build #109042 has finished for PR 25432 at commit 367bd35.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

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. Merged to master.
The last Jenkins already passes the checkstyle and it's running python tests. I also verified this locally with dev/lint-java.

Thank you, @Fokko and @HyukjinKwon !

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Aug 13, 2019

Could you make a backport PR to branch-2.4?

@Fokko Fokko deleted the SPARK-28713 branch August 13, 2019 18:32
@Fokko
Copy link
Contributor Author

Fokko commented Aug 13, 2019

I've ran mvn checkstyle:checkstyle to verify if there are any code style violations. I'll create the backport 👍

Fokko added a commit to Fokko/spark that referenced this pull request Aug 13, 2019
Fixes a vulnerability from the GitHub Security Advisory Database:

_Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle_
Checkstyle prior to 8.18 loads external DTDs by default, which can potentially lead to denial of service attacks or the leaking of confidential information.

checkstyle/checkstyle#6474

Affected versions: < 8.18

Ran checkstyle locally.

Closes apache#25432 from Fokko/SPARK-28713.

Authored-by: Fokko Driesprong <fokko@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
(cherry picked from commit d8dd571)
@Fokko
Copy link
Contributor Author

Fokko commented Aug 13, 2019

@dongjoon-hyun Backport in #25437

@SparkQA
Copy link

SparkQA commented Aug 13, 2019

Test build #109048 has finished for PR 25432 at commit 05e4363.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

dongjoon-hyun pushed a commit that referenced this pull request Aug 13, 2019
## What changes were proposed in this pull request?

Backport to `branch-2.4` of #25432

Fixes a vulnerability from the GitHub Security Advisory Database:

_Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle_
Checkstyle prior to 8.18 loads external DTDs by default, which can potentially lead to denial of service attacks or the leaking of confidential information.

checkstyle/checkstyle#6474

Affected versions: < 8.18

## How was this patch tested?

Ran checkstyle locally.

Closes #25437 from Fokko/branch-2.4.

Authored-by: Fokko Driesprong <fokko@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
@HyukjinKwon
Copy link
Member

LGTM too!

rluta pushed a commit to rluta/spark that referenced this pull request Sep 17, 2019
## What changes were proposed in this pull request?

Backport to `branch-2.4` of apache#25432

Fixes a vulnerability from the GitHub Security Advisory Database:

_Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle_
Checkstyle prior to 8.18 loads external DTDs by default, which can potentially lead to denial of service attacks or the leaking of confidential information.

checkstyle/checkstyle#6474

Affected versions: < 8.18

## How was this patch tested?

Ran checkstyle locally.

Closes apache#25437 from Fokko/branch-2.4.

Authored-by: Fokko Driesprong <fokko@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
kai-chi pushed a commit to kai-chi/spark that referenced this pull request Sep 26, 2019
## What changes were proposed in this pull request?

Backport to `branch-2.4` of apache#25432

Fixes a vulnerability from the GitHub Security Advisory Database:

_Moderate severity vulnerability that affects com.puppycrawl.tools:checkstyle_
Checkstyle prior to 8.18 loads external DTDs by default, which can potentially lead to denial of service attacks or the leaking of confidential information.

checkstyle/checkstyle#6474

Affected versions: < 8.18

## How was this patch tested?

Ran checkstyle locally.

Closes apache#25437 from Fokko/branch-2.4.

Authored-by: Fokko Driesprong <fokko@apache.org>
Signed-off-by: Dongjoon Hyun <dhyun@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants