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.
Version 0.14 of the git2 crate pulls in libgit2 1.4.5, which was released two years ago, and the 1.4 branch has been out of support for almost that long.
There have been multiple security issues with libgit2 in recent years, most recently, two medium/high severity CVE issues that were only fixed on the 1.7 and 1.6 branches of libgit2. However, only the v0.18 branch of the git2 crate was updated for the latest security fixes, so v0.18 is the only version of the git2 crate that is not vulnerable to any currently known security issues.