Skip to content

Commit

Permalink
Added dependency overrides for netty modules to address SNYK reports (#…
Browse files Browse the repository at this point in the history
…418)

Co-authored-by: Patryk Kowalcze <[email protected]>
  • Loading branch information
pkowalcze and Patryk Kowalcze committed Oct 17, 2023
1 parent d2715d4 commit 6b4ca0a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ val Versions = new {

lazy val IntegrationTest = config("it") extend Test

lazy val securityDependencyOverrides = Seq(
"io.netty" % "netty-handler" % "4.1.100.Final", // SNYK-JAVA-IONETTY-5725787 introduced through software.amazon.awssdk:s3
"io.netty" % "netty-codec-http2" % "4.1.100.Final" // SNYK-JAVA-IONETTY-5953332 introduced through software.amazon.awssdk:s3
)

lazy val root = (project in file("."))
.configs(IntegrationTest)
.enablePlugins(NoPublishPlugin)
Expand Down Expand Up @@ -124,7 +129,7 @@ lazy val kinesis = module("kinesis", directory = "connectors")
libraryDependencies ++= Seq(
"io.laserdisc" %% "pure-kinesis-tagless" % Versions.Laserdisc,
"software.amazon.awssdk" % "kinesis" % Versions.AwsSdkV2
)
) ++ securityDependencyOverrides
)
.dependsOn(core)

Expand All @@ -134,7 +139,7 @@ lazy val sns = module("sns", directory = "connectors")
libraryDependencies ++= Seq(
"io.laserdisc" %% "pure-sns-tagless" % Versions.Laserdisc,
"software.amazon.awssdk" % "sns" % Versions.AwsSdkV2
)
) ++ securityDependencyOverrides
)
.dependsOn(core)

Expand All @@ -145,7 +150,7 @@ lazy val sqs = module("sqs", directory = "connectors")
"io.laserdisc" %% "pure-sqs-tagless" % Versions.Laserdisc,
"software.amazon.awssdk" % "sqs" % Versions.AwsSdkV2,
"org.typelevel" %% "log4cats-core" % Versions.Log4Cats
)
) ++ securityDependencyOverrides
)
.dependsOn(core)

Expand Down Expand Up @@ -179,7 +184,7 @@ lazy val s3Proxy = module("s3proxy", directory = "addons")
"io.laserdisc" %% "pure-s3-tagless" % Versions.Laserdisc,
"software.amazon.awssdk" % "s3" % Versions.AwsSdkV2,
"io.circe" %% "circe-literal" % Versions.Circe % Test
)
) ++ securityDependencyOverrides
)
.dependsOn(high, circe)

Expand Down

0 comments on commit 6b4ca0a

Please sign in to comment.