ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2026-1951

Amazon Linux 2023 - ALAS2023-2026-1951: Important priority package update for rust

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-82255: gitoxide versions from 0.25.4 contain an HTTP credential leak vulnerability in the curl-based transport backend where credentials are sent to attacker-controlled servers after HTTP redirects. The vulnerability occurs because credential validation checks the original URL instead of the effective URL after redirect, allowing attackers to steal authentication tokens through cross-domain redirects or HTTPS-to-HTTP downgrades.

CVE-2026-82254: gitoxide before 0.69.0 contains unchecked array indexing in delta application and uncapped allocation from attacker-controlled size headers in gix-pack. Attackers can send crafted pack data during clone or fetch operations to trigger panics or out-of-memory process kills.

CVE-2026-82252: gitoxide before 0.52.1 follows symlinks when reading the worktree .gitmodules file, allowing attackers to inject out-of-repository bytes into submodule metadata. Attackers can create a malicious repository with a symlinked .gitmodules pointing outside the repository tree, causing gitoxide to parse arbitrary external files as submodule configuration and expose attacker-controlled name, path, and url values.

CVE-2026-40034: 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.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023cargo
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023cargo-debuginfo
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023clippy
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023clippy-debuginfo
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-analyzer
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-analyzer-debuginfo
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-debugger-common
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-debuginfo
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-debugsource
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-doc
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-gdb
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-lldb
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-src
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-std-static
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-std-static-wasm32-unknown-unknown
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-std-static-wasm32-wasip1
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-toolset
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rust-toolset-srpm-macros
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rustfmt
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)
Amazon Linux:2023rustfmt-debuginfo
All versions before 1.97.0-1.amzn2023.0.1 (fixed in 1.97.0-1.amzn2023.0.1)

References