Summary
This update for gitoxide fixes the following issues:
Changes in gitoxide:
- Update to 0.56.0:
* Fixes CVE-2026-40034 (boo#1266434): the CommandForbiddenInModules
trust check could be bypassed in gix_submodule::File::update(),
which allowed arbitrary command execution from a crafted
.gitmodules file
* Fixes a submodule name validation bypass that allowed traversal
out of .git/modules and disclosure of credentials
* Fixes symlinked .gitmodules files being followed and parsed from
outside the repository
* Fixes several denial-of-service vectors in gix-pack: unchecked
indexing panics and uncapped allocations from crafted pack data
* Fixes HTTP credentials being leaked to the redirected host by the
curl transport backend
* Add the gix config show, gix config list, gix config fmt,
gix free remote refs, gix free trust, gix dirwalk and gix tix
subcommands
* Add a gix status --untracked flag and gix merge tree --message
for creating commits
* gix exclude query is now index-aware and no longer reports ignore
matches for tracked files, matching git check-ignore
* Preserve all configured remote URLs rather than only the last one
* Fix fetching and cloning with tag refspecs in shallow clones,
relative worktree linking files and loose ref path-prefix
collisions
* Update the crates to the Rust 2024 edition
- Refresh the vendored dependencies. Recording the state of the
remaining open CVE bugs against this version, none of which it is
affected by:
* CVE-2026-25541 (boo#1274525): the vendored bytes is now 1.12.1,
above the 1.11.1 fix
* CVE-2025-22620 (boo#1236139): gix-worktree-state is 0.33.0, far
above the 0.17.0 that fixed the world-writable checkout of
executable files
- update to 0.50.0:
see https://github.com/GitoxideLabs/gitoxide/compare/v0.42.0...v0.50.0
- update to 0.42.0:
* add first 'debug' version of gix diff file
* use revspecs for revision and path
* CVE-2025-31130: use collision-detecting SHA-1 hash boo#1240872
- Update to version 0.41.0:
* add gix blame -L start,end
* add gix env to print paths relevant to the Git installation.
* Document the remaining subcommands
* Add support for statistics and additional performance
information.
* add gix blame to the CLI. That way it's possible to see the
blame result of any file in the repository.
- Updates from version 0.40.0:
* add first 'debug' version of gix log. It's primarily meant to
better understand gix blame.
* add --tree-favor to gix merge tree|commit. With it one can
decide which side to favor in case of irreconcilable
tree-conflicts.
* CVE-2025-22620: gix-worktree-state specifies 0777 permissions
when checking out executable files (boo#1236139)
- Update to version 0.39.0:
New Features
* add gix merge commit --debug
* add gix merge commits
* add gix merge tree to merge trees similarly to git merge-tree.
- Update to version 0.38.0:
New Features
* support for listing worktrees with gix worktree list
* add first 'debug' version of gix diff tree.
* add new gix cat command.
* add gix merge-file with similar features as git merge-file
* gix merge-base for the CLI
Bug Fixes
* Adjust gix clean warning and help for worktree fix
* Clarify -r/--repositories and --skip-hidden-repositories
Other
* switch from time to jiff
* Unify style in config support info
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | gitoxide | 0.56.0-bp160.1.1 |
Vulnerabilities 5
-
High 7.8
gitoxide - Command Injection via Partial .gitmodules Override in gix-submodule
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partia…
-
High 7.5
Rustls vulnerable to an infinite loop in rustls::conn::ConnectionCommon::complete_io() with proper client input
Rustls is a modern TLS library written in Rust. `rustls::ConnectionCommon::complete_io` could fall into an infinite loop based on network input. When using a blocking rustls server, if a client send a `close_notify` message immediately after `client_hello`, t…
-
Medium 6.8
gitoxide does not detect SHA-1 collision attacks
gitoxide is an implementation of git written in Rust. Before 0.42.0, gitoxide uses SHA-1 hash implementations without any collision detection, leaving it vulnerable to hash collision attacks. gitoxide uses the sha1_smol or sha1 crate, both of which implement …
-
Medium 5.5CVE-2026-25541 Public exploit
Bytes is vulnerable to integer overflow in BytesMut::reserve
Bytes is a utility library for working with bytes. From version 1.2.1 to before 1.11.1, Bytes is vulnerable to integer overflow in BytesMut::reserve. In the unique reclaim path of BytesMut::reserve, if the condition "v_capacity >= new_cap + offset" uses an un…
-
Medium 5.0CVE-2025-22620 Public exploit
gix-worktree-state nonexclusive checkout sets executable files world-writable
gitoxide is an implementation of git written in Rust. Prior to 0.17.0, gix-worktree-state specifies 0777 permissions when checking out executable files, intending that the umask will restrict them appropriately. But one of the strategies it uses to set permis…
References
-
report
https://bugzilla.suse.com/1223249
-
report
https://bugzilla.suse.com/1236139
-
report
https://bugzilla.suse.com/1240872
-
report
https://bugzilla.suse.com/1266434
-
report
https://bugzilla.suse.com/1274525
-
web
https://www.suse.com/security/cve/CVE-2024-32650
-
web
https://www.suse.com/security/cve/CVE-2025-22620
-
web
https://www.suse.com/security/cve/CVE-2025-31130
-
web
https://www.suse.com/security/cve/CVE-2026-25541
-
web
https://www.suse.com/security/cve/CVE-2026-40034