ALAS2-2026-3375
Active ModerateALAS2-2026-3375 (medium): rust
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 1 records
| CVE | Relationship | Publisher CVE field | Publisher evidence |
|---|---|---|---|
| CVE-2026-44471 | Listed by advisoryExact relationship valueadvisory_list | Publisher referencesExact field valuereferences | https://alas.aws.amazon.com/AL2/ALAS2-2026-3375.html |
Description
gitoxide is an implementation of git written in Rust. Prior to 0.21.1, a malicious tree can be constructed that will, when checked out with gitoxide, permit writing an attacker-controlled symlink into any existing directory the user has write access to. During checkout, all symlink index entries are deferred and created after regular files using a single
Read full publisher description 1427 characters
gitoxide is an implementation of git written in Rust. Prior to 0.21.1, a malicious tree can be constructed that will, when checked out with gitoxide, permit writing an attacker-controlled symlink into any existing directory the user has write access to. During checkout, all symlink index entries are deferred and created after regular files using a single shared gix_worktree::Stack. Internally, this uses a gix_fs::Stack. gix_fs::Stack::make_relative_path_current() caches validated path prefixes: when the previously-processed leaf component exactly matches the leading component(s) of the next path, the leaf-to-directory transition at gix-fs/src/stack.rs invokes only delegate.push_directory(), never delegate.push(). In gix_worktree::stack::delegate::StackDelegate, when the state member is State::CreateDirectoryAndAttributesStack, Attributes::push_directory() only loads attributes (from the ODB, in the clone case), and does not perform any other checks. The on-disk symlink_metadata() check and unlink-on-collision live in StackDelegate::push()'s invocation of create_leading_directory(), which is therefore bypassed for the cached prefix. The final symlink is created with plain std::os::unix::fs::symlink, which follows symlinks in parent directories. Therefore, it's possible to provide a tree with duplicate symlink and directory entries that exploits this. This vulnerability is fixed in 0.21.1. (CVE-2026-44471)
Solution
Run yum update rust or yum update --advisory ALAS2-2026-3375 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1rust
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- rust-1.96.0-1.amzn2.0.2.aarch64
- rust-std-static-1.96.0-1.amzn2.0.2.aarch64
- rust-doc-1.96.0-1.amzn2.0.2.aarch64
- cargo-1.96.0-1.amzn2.0.2.aarch64
- rustfmt-1.96.0-1.amzn2.0.2.aarch64
- rust-analyzer-1.96.0-1.amzn2.0.2.aarch64
- clippy-1.96.0-1.amzn2.0.2.aarch64
-
2rust
Occurrence-specific details
- Architecture
- noarch
Replacement RPMs
- rust-debugger-common-1.96.0-1.amzn2.0.2.noarch
- rust-gdb-1.96.0-1.amzn2.0.2.noarch
- rust-src-1.96.0-1.amzn2.0.2.noarch
- rust-toolset-srpm-macros-1.96.0-1.amzn2.0.2.noarch
- rust-toolset-1.96.0-1.amzn2.0.2.noarch
-
3rust
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- rust-1.96.0-1.amzn2.0.2.src
-
4rust
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- rust-1.96.0-1.amzn2.0.2.x86_64
- rust-std-static-1.96.0-1.amzn2.0.2.x86_64
- rust-doc-1.96.0-1.amzn2.0.2.x86_64
- cargo-1.96.0-1.amzn2.0.2.x86_64
- rustfmt-1.96.0-1.amzn2.0.2.x86_64
- rust-analyzer-1.96.0-1.amzn2.0.2.x86_64
- clippy-1.96.0-1.amzn2.0.2.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
2- CVE-2026-44471 https://access.redhat.com/security/cve/CVE-2026-44471
- CVE-2026-44471 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-44471
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-3375.html | Unknown | 084e85cd648c5831052dbe14457a2834fa55690b21a72a9b9bf4be696f65f728 | amazon-alas/1 | 2026-09-26T01:34:09Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3375.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |
| catalog_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-3375.html | Unknown | Unknown | amazon-alas/1 | 2026-09-26T01:34:09Z |