Skip to content

Commit 93d1619

Browse files
authored
addressed CVE-2022-31183 by patching fs2 (#150)
1 parent d4dfe29 commit 93d1619

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

build.sbt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ lazy val commonSettings = Seq(
5151
scalacOptions ++= commonScalacOptions,
5252
Test / parallelExecution := false,
5353
(Compile / compile) := ((Compile / compile) dependsOn printScalaVersion).value, // printScalaVersion is run with compile
54-
jacocoExcludes := commonJacocoExcludes
54+
jacocoExcludes := commonJacocoExcludes,
55+
// to mitigate CVE-2022-31183
56+
dependencyOverrides += "co.fs2" %% "fs2-core" % "3.2.11",
57+
dependencyOverrides += "co.fs2" %% "fs2-io" % "3.2.11",
5558
)
5659

5760
lazy val parent = (project in file("."))

project/plugins.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ addSbtPlugin("za.co.absa.sbt" % "sbt-jacoco" % "3.4.1-absa.4" from "https://gith
4141
addSbtPlugin("com.thoughtworks.sbt-api-mappings" % "sbt-api-mappings" % "3.0.2")
4242

4343
addSbtPlugin("io.github.davidmweber" % "flyway-sbt" % "7.4.0")
44+
45+
addDependencyTreePlugin

0 commit comments

Comments
 (0)