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

Added dependency overrides for netty modules to address SNYK reports #418

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading