Skip to content

Commit 5e23987

Browse files
authored
Merge pull request #745 from ckipp01/security
deps: exclude sshd-sftp
2 parents efd9a67 + 76ab950 commit 5e23987

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

project/Dependencies.scala

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,14 @@ object Dependencies {
99
ExclusionRule("org.tukaani", "xz"),
1010
ExclusionRule("junit", "junit")
1111
)
12-
val jgit = "org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.1.202206130422-r"
13-
val jgitSshApache = "org.eclipse.jgit" % "org.eclipse.jgit.ssh.apache" % "5.13.1.202206130422-r"
12+
// We excluded sshd-sftp to avoid https://github.com/advisories/GHSA-fhw8-8j55-vwgq
13+
// Either that or we need to bump to jgit 6.x
14+
val jgit = "org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.1.202206130422-r" excludeAll (
15+
ExclusionRule("org.apache.sshd", "sshd-sftp")
16+
)
17+
val jgitSshApache = "org.eclipse.jgit" % "org.eclipse.jgit.ssh.apache" % "5.13.1.202206130422-r" excludeAll (
18+
ExclusionRule("org.apache.sshd", "sshd-sftp")
19+
)
1420
val scopt = "com.github.scopt" %% "scopt" % "4.1.0"
1521
val scalacheck = "org.scalacheck" %% "scalacheck" % "1.17.0"
1622
val scalatest = "org.scalatest" %% "scalatest" % "3.2.14"

0 commit comments

Comments
 (0)