Skip to content

Commit

Permalink
Merge pull request #51 from danielparks/security-libgit2
Browse files Browse the repository at this point in the history
Security: update git2 to non-vulnerable version
  • Loading branch information
danielparks authored Feb 12, 2024
2 parents b062870 + 59c294d commit 817b405
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ All notable changes to this project will be documented in this file.

## main branch

### Security fixes

* Upgrade [git2] dependency to 0.18.2 to fix [security vulnerabilities in
libgit2][GHSA-22q8-ghmq-63vf], including in revision parsing. These do not
appear to affect git-status-vars.

[git2]: https://crates.io/crates/git2
[GHSA-22q8-ghmq-63vf]: https://github.com/advisories/GHSA-22q8-ghmq-63vf

### API breaking changes

* Switched `Reference::new()` and friends to accept types that implement
Expand Down
20 changes: 13 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ rust-version = "1.64"

[dependencies]
clap = { version = "4.0.16", features = ["derive"] }
git2 = { version = "0.17.0", default-features = false }
git2 = { version = "0.18.2", default-features = false }
shell-words = "1.1.0"

[dev-dependencies]
Expand Down

0 comments on commit 817b405

Please sign in to comment.