[RUN-4678] Upgrade jgit/jgit-ssh-apache to 7.2.0 to drop transitive eddsa (CVE-2020-36843)#73
Merged
Conversation
…ddsa (CVE-2020-36843) Snyk (SNYK-JAVA-NETI2PCRYPTO-9402849) flags net.i2p.crypto:eddsa:0.3.0, pulled in transitively here via org.eclipse.jgit.ssh.apache:6.10.1's Apache MINA SSHD dependency. Unlike the sshj-based plugins, this is a real transitive dependency, not unused cruft. Upgrading org.eclipse.jgit and org.eclipse.jgit.ssh.apache to 7.2.0 (Snyk's suggested fix version) bumps the transitive sshd-osgi/sshd-sftp dependency from 2.14.0 to 2.15.0, which no longer depends on net.i2p.crypto:eddsa at all - confirmed via the resolved dependency tree. Full clean build and test suite pass unchanged (65 tests, no failures) with no source-level API breakage between jgit 6.10.1 and 7.2.0.
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the plugin’s JGit dependencies to remove the vulnerable transitive net.i2p.crypto:eddsa dependency (CVE-2020-36843) by upgrading to a newer JGit/JGit SSH Apache release in the Gradle version catalog.
Changes:
- Bumped
org.eclipse.jgitfrom6.10.1.202505221210-rto7.2.0.202503040940-r - Bumped
org.eclipse.jgit.ssh.apachefrom6.10.1.202505221210-rto7.2.0.202503040940-r
Comment on lines
+9
to
+10
| jgit = "7.2.0.202503040940-r" | ||
| jgitSshApache = "7.2.0.202503040940-r" |
Contributor
There was a problem hiding this comment.
Removed the outdated comment from build.gradle in 7d2fcf1.
jtobard
approved these changes
Jul 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves RUN-4678 / CVE-2020-36843 (
SNYK-JAVA-NETI2PCRYPTO-9402849) for this repo's Snyk finding, wherenet.i2p.crypto:eddsa:0.3.0is introduced through:Unlike the other two related fixes (rundeck/rundeck#10394, rundeck-plugins/sshj-plugin#138),
eddsahere is a genuine transitive dependency, not unused cruft —org.eclipse.jgit.ssh.apachedepends on Apache MINA SSHD, which in 2.14.0 still requirednet.i2p.crypto:eddsa.Fix
Applied Snyk's suggested remediation: upgraded
org.eclipse.jgitandorg.eclipse.jgit.ssh.apachefrom6.10.1.202505221210-rto7.2.0.202503040940-r. This bumps the transitivesshd-osgi/sshd-sftpdependency from2.14.0to2.15.0, which no longer depends onnet.i2p.crypto:eddsaat all.Test plan
./gradlew dependencies --configuration pluginLibs— confirmednet.i2p.crypto:eddsano longer appears anywhere in the resolved graph after the bump./gradlew clean build— passes, no source-level API breakage between jgit 6.10.1 and 7.2.0