Skip to content
This repository was archived by the owner on Jun 24, 2023. It is now read-only.

fix(deps): update rust crate git2 to 0.16.1 [security] - #22

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-git2-vulnerability
Open

fix(deps): update rust crate git2 to 0.16.1 [security]#22
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-git2-vulnerability

Conversation

@renovate

@renovate renovate Bot commented Jan 21, 2023

Copy link
Copy Markdown
Contributor

Mend Renovate

This PR contains the following updates:

Package Type Update Change
git2 dependencies minor 0.15.0 -> 0.16.1

GitHub Vulnerability Alerts

GHSA-m4ch-rfv5-x5g3

The git2 and libgit2-sys crates are Rust wrappers around the libgit2 C library. It was discovered that libgit2 1.5.0 and below did not verify SSH host keys when establishing an SSH connection, exposing users of the library to Man-In-the-Middle attacks.

The libgit2 team assigned CVE-2023-22742 to this vulnerability. The following versions of the libgit2-sys Rust crate have been released:

  • libgit2-sys 0.14.2, updating the underlying libgit2 C library to version 1.5.1.
  • libgit2-sys 0.13.5, updating the underlying libgit2 C library to version 1.4.5.

A new git2 crate version has also been released, 0.16.1. This version only bumps its libgit2-sys dependency to ensure no vulnerable libgit2-sys versions are used, but contains no code changes: if you update the libgit2-sys version there is no need to also update the git2 crate version.

You can learn more about this vulnerability in libgit2's advisory


Release Notes

rust-lang/git2-rs

v0.16.1

Compare Source

0.16.0...0.16.1

Changed

v0.16.0

Compare Source

0.15.0...0.16.0

Changed
  • Added ability to get the SSH host key and its type.
    This includes an API breaking change to the certificate_check callback.
    #​909
  • Updated to libgit2-sys 0.14.1+1.5.0

Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants