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

Upgrade to safe version of JGit #157

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Upgrade to safe version of JGit #157

merged 2 commits into from
Apr 26, 2024

Conversation

shaikhu
Copy link
Contributor

@shaikhu shaikhu commented Apr 26, 2024

Investigate and upgrade to a safe version of JGit which is still compatible with Java 8.

It relates to the following issue #s:

cc @bhamail / @DarthHater / @guillermo-varela

@guillermo-varela
Copy link
Contributor

guillermo-varela commented Apr 26, 2024

Tested locally:

Discovered commit hash 'a14301c1e933a610e011e85ce0255e795c7223c8' via jGit
test-157-1

Git commit was discovered.

Also, JGit jgit:5.13.3.202401111512-r is a recent version fixing a vulnerability:
https://projects.eclipse.org/projects/technology.jgit/releases/5.13.3
https://ossindex.sonatype.org/component/pkg:maven/org.eclipse.jgit/[email protected]

From JGit 6.0 it requires Java 11, so we're stuck at 5.X for the time being:
https://projects.eclipse.org/projects/technology.jgit/releases/6.0.0

Copy link
Contributor

@guillermo-varela guillermo-varela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@guillermo-varela guillermo-varela merged commit e96e241 into main Apr 26, 2024
10 checks passed
@guillermo-varela guillermo-varela deleted the test_bump_jgit branch April 26, 2024 15:17
@guillermo-varela
Copy link
Contributor

From @eduard-tita, if still can't upgrade to newer versions of nexus-platform-api in the near future (see #146) we might consider using constraints instead of exclude:
https://docs.gradle.org/current/userguide/dependency_constraints.html

shaikhu added a commit that referenced this pull request Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The last 10 versions share a common transitive vulnerability in org.eclipse.jgit-5.8.1.202007141445-r.jar
2 participants