Skip to content

Commit

Permalink
Update commons-io to prevent CVE-2024-47554
Browse files Browse the repository at this point in the history
  • Loading branch information
seblm committed Nov 30, 2024
1 parent ead6384 commit 4dd8e37
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ lazy val `jgiven-scalatest-reporter` = project
.settings(
commonSettings,
scalaVersion := "2.13.15",
libraryDependencies += `commons-io`,
libraryDependencies += `jgiven-core`,
libraryDependencies += `jgiven-html5-report`,
libraryDependencies += `log4j-slf4j-impl`,
Expand Down
3 changes: 2 additions & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ object Dependencies {

private val jGivenVersion = "1.3.1"

lazy val `commons-io` = "commons-io" % "commons-io" % "2.18.0" % Runtime // Please remove this dependency once jgiven-html5-report will transitively depend on it
lazy val gson = "com.google.code.gson" % "gson" % "2.11.0"
lazy val `jgiven-core` = "com.tngtech.jgiven" % "jgiven-core" % jGivenVersion
lazy val `jgiven-html5-report` = "com.tngtech.jgiven" % "jgiven-html5-report" % jGivenVersion
lazy val `jgiven-html5-report` = "com.tngtech.jgiven" % "jgiven-html5-report" % jGivenVersion exclude ("commons-io", "commons-io")
lazy val `log4j-slf4j-impl` = "org.apache.logging.log4j" % "log4j-slf4j2-impl" % "2.24.2" % Test
lazy val scalatest = "org.scalatest" %% "scalatest" % "3.2.19"
lazy val `slf4j-api` = "org.slf4j" % "slf4j-api" % "2.0.16"
Expand Down

0 comments on commit 4dd8e37

Please sign in to comment.