Skip to content

chore(deps): update rust crate git2 to v0.20.4 [security]#66

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

chore(deps): update rust crate git2 to v0.20.4 [security]#66
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/crate-git2-vulnerability

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Feb 5, 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 changed the title chore(deps): update rust crate git2 to v0.20.4 [security] chore(deps): 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:48
@renovate renovate Bot changed the title chore(deps): update rust crate git2 to v0.20.4 [security] - autoclosed chore(deps): 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 60cd034 to 72ce8a2 Compare March 30, 2026 22:10
@renovate renovate Bot changed the title chore(deps): update rust crate git2 to v0.20.4 [security] chore(deps): update rust crate git2 to v0.20.4 [security] - autoclosed Apr 27, 2026
@renovate renovate Bot closed this Apr 27, 2026
@renovate renovate Bot changed the title chore(deps): update rust crate git2 to v0.20.4 [security] - autoclosed chore(deps): update rust crate git2 to v0.20.4 [security] Apr 27, 2026
@renovate renovate Bot reopened this Apr 27, 2026
@renovate renovate Bot force-pushed the renovate/crate-git2-vulnerability branch 2 times, most recently from 72ce8a2 to 250ea9b Compare April 27, 2026 21:09
@renovate renovate Bot force-pushed the renovate/crate-git2-vulnerability branch from 250ea9b to e731896 Compare May 18, 2026 14:14
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