Skip to content

Update Rust crate git2 to v0.20.4 [SECURITY]#83

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

Update Rust crate git2 to v0.20.4 [SECURITY]#83
renovate[bot] wants to merge 1 commit intomainfrom
renovate/crate-git2-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 4, 2026

This PR contains the following updates:

Package Type Update Change
git2 dependencies patch 0.20.20.20.4

git2 has potential undefined behavior when dereferencing Buf struct

GHSA-j39j-6gw9-jw6h

More information

Details

If the Buf struct is dereferenced immediately after calling new() or default() on the Buf struct, a null pointer is passed to the unsafe function slice::from_raw_parts. According to the safety section documentation of the function, data must be non-null and aligned even for zero-length slices or slices of ZSTs. Thus, passing a null pointer will lead to undefined behavior.

Severity

  • CVSS Score: 2.7 / 10 (Low)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

rust-lang/git2-rs (git2)

v0.20.4

Compare Source

v0.20.3

Compare Source


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • ""
  • Automerge
    • At any time (no schedule defined)

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

Rebasing: Whenever PR is behind base branch, 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from mbround18 as a code owner February 4, 2026 20:55
@renovate renovate Bot changed the title Update Rust crate git2 to v0.20.4 [SECURITY] Update Rust crate git2 to v0.20.4 [SECURITY] - autoclosed Mar 27, 2026
@renovate renovate Bot closed this Mar 27, 2026
@renovate renovate Bot deleted the renovate/crate-git2-vulnerability branch March 27, 2026 00:52
@renovate renovate Bot changed the title Update Rust crate git2 to v0.20.4 [SECURITY] - autoclosed Update Rust crate git2 to v0.20.4 [SECURITY] Mar 30, 2026
@renovate renovate Bot reopened this Mar 30, 2026
@renovate renovate Bot force-pushed the renovate/crate-git2-vulnerability branch 2 times, most recently from 4501b16 to 774e35a Compare March 30, 2026 18:07
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.

0 participants