Skip to content

fix(deps): update rust crate git2 to 0.21 [security]#127

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

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

Conversation

@ferrlabs-renovate

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
git2 dependencies minor 0.200.21

Potential undefined behavior when calling Remote::list()

RUSTSEC-2026-0183

More information

Details

When calling Remote::list() for a remote of a git repository, when that remote does not advertise any references, git2 passes a null pointer to the unsafe function slice::from_raw_parts(). Based on the safety section documentation of function, data must be non-null even for slices of length zero. Thus, the use of a null pointer leads to undefined behavior.

Severity

Unknown

References

This data is provided by OSV and the Rust Advisory Database (CC0 1.0).


Potential undefined behavior with Signature from a buffer-created BlameHunk

RUSTSEC-2026-0184

More information

Details

When a Blame is created via Blame::blame_buffer(), and a BlameHunk is retrieved, the pointers to the original author, original committer, final author, and final committer may be null if unavailable. The corresponding BlameHunk methods then create Signatures based on null pointers; attempting to access the data of the Signatures leads to dereferencing null pointers.

Severity

Unknown

References

This data is provided by OSV and the Rust Advisory Database (CC0 1.0).


Configuration

📅 Schedule: (UTC)

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

This PR has been generated by Mend Renovate.

@ferrlabs-renovate ferrlabs-renovate Bot added the security Security-related label Jun 17, 2026
@ferrlabs-renovate ferrlabs-renovate Bot enabled auto-merge (squash) June 17, 2026 19:28
@ferrlabs-renovate

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

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

Labels

security Security-related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants