Skip to content

Commit e624bda

Browse files
committed
PFM-563 Override gson to remove trivy vulnerability
1 parent 34dbbab commit e624bda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ lazy val root = (project in file("."))
2323
libraryDependencies ++= Seq(
2424
"co.fs2" %% "fs2-core" % "3.2.2",
2525
"co.fs2" %% "fs2-io" % "3.2.2",
26-
"com.google.crypto.tink" % "tink" % "1.6.1" excludeAll(
26+
"com.google.crypto.tink" % "tink" % "1.6.1" excludeAll (
2727
// excluded due to CVE in version used by tink 1.6.1 -> https://github.com/advisories/GHSA-wrvw-hg22-4m67
2828
ExclusionRule(organization = "com.google.protobuf"),
2929
),
@@ -34,6 +34,7 @@ lazy val root = (project in file("."))
3434
"org.tpolecat" %% "doobie-hikari" % "1.0.0-RC2",
3535
"org.tpolecat" %% "doobie-postgres" % "1.0.0-RC2",
3636
"org.postgresql" % "postgresql" % "42.3.2",
37+
"com.google.code.gson" % "gson" % "2.8.9", // overriden because of a vulnerability
3738
"com.disneystreaming" %% "weaver-cats" % "0.7.7" % Test,
3839
"com.disneystreaming" %% "weaver-core" % "0.7.7" % Test,
3940
"org.tpolecat" %% "doobie-h2" % "1.0.0-RC1" % Test

0 commit comments

Comments
 (0)