From 6206c3168fa2de658f362cff6796fba4faadc6d1 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Tue, 13 Aug 2019 11:09:14 -0700 Subject: [PATCH] [SPARK-28713][BUILD] Bump checkstyle from 8.14 to 8.23 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. https://github.com/checkstyle/checkstyle/issues/6474 Affected versions: < 8.18 Ran checkstyle locally. Closes #25432 from Fokko/SPARK-28713. Authored-by: Fokko Driesprong Signed-off-by: Dongjoon Hyun (cherry picked from commit d8dd5719b4b82ea5d2294002ada7aa4040bb2856) --- pom.xml | 2 +- project/plugins.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3005b57529ce1..46603015d8427 100644 --- a/pom.xml +++ b/pom.xml @@ -2565,7 +2565,7 @@ com.puppycrawl.tools checkstyle - 8.2 + 8.23 diff --git a/project/plugins.sbt b/project/plugins.sbt index ffbd417b0f145..cda4739954aaf 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,7 +1,7 @@ addSbtPlugin("com.etsy" % "sbt-checkstyle-plugin" % "3.1.1") // sbt-checkstyle-plugin uses an old version of checkstyle. Match it to Maven's. -libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "8.2" +libraryDependencies += "com.puppycrawl.tools" % "checkstyle" % "8.23" // checkstyle uses guava 23.0. libraryDependencies += "com.google.guava" % "guava" % "23.0"