Описание
Security update for gitoxide
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
Список пакетов
openSUSE Leap 16.0
Ссылки
- SUSE Security Ratings
- SUSE Bug 1223249
- SUSE Bug 1236139
- SUSE Bug 1240872
- SUSE Bug 1266434
- SUSE Bug 1274525
- SUSE CVE CVE-2024-32650 page
- SUSE CVE CVE-2025-22620 page
- SUSE CVE CVE-2025-31130 page
- SUSE CVE CVE-2026-25541 page
- SUSE CVE CVE-2026-40034 page
Описание
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`, the server's `complete_io` will get in an infinite loop. This vulnerability is fixed in 0.23.5, 0.22.4, and 0.21.11.
Затронутые продукты
Ссылки
- CVE-2024-32650
- SUSE Bug 1223211
Описание
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 permissions is not subject to the umask. This causes files in a repository to be world-writable in some situations. This vulnerability is fixed in 0.17.0.
Затронутые продукты
Ссылки
- CVE-2025-22620
- SUSE Bug 1236139
Описание
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 standard SHA-1 without any mitigations for collision attacks. This means that two distinct Git objects with colliding SHA-1 hashes would break the Git object model and integrity checks when used with gitoxide. This vulnerability is fixed in 0.42.0.
Затронутые продукты
Ссылки
- CVE-2025-31130
- SUSE Bug 1240872
Описание
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 unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB. This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks. This issue has been patched in version 1.11.1.
Затронутые продукты
Ссылки
- CVE-2026-25541
- SUSE Bug 1271347
Описание
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 partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
Затронутые продукты
Ссылки
- CVE-2026-40034
- SUSE Bug 1266415