Amazon Linux 2 (EOS) Security Advisory: ALAS2-2026-4072
Advisory Released Date: 2026-11-09
Advisory Updated Date: 2026-11-09
gitoxide's gix-url crate (<= 0.32.0, fixed in 0.37.1) uses a hand-rolled URL parser that does not treat '?' or '#' as terminating the authority component, contrary to RFC 3986. As a consequence, gix-transport's HTTP redirect identity guard (can_reuse_identity) compares the wrong host and fails open. An attacker controlling a redirect response can craft a Location header of the form <attacker-authority>?@<original-authority> so that gitoxide sends the caller's HTTP Basic Authorization credentials to an unintended host. gix-transport is affected in versions <= 0.49.0 (fixed in 0.58.1). (CVE-2026-82247)
gitoxide before 0.38.2 fails to validate carriage return characters in URL values passed to credential helpers. Attackers can supply URLs containing bare carriage returns to inject additional helper protocol fields and cause credential helpers to return credentials for attacker-specified hosts instead of the requested URL. (CVE-2026-82249)
Affected Packages:
rust
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update rust or yum update --advisory ALAS2-2026-4072 to update your system.
aarch64:
rust-1.99.1-1.amzn2.aarch64
rust-std-static-1.99.1-1.amzn2.aarch64
rust-doc-1.99.1-1.amzn2.aarch64
cargo-1.99.1-1.amzn2.aarch64
rustfmt-1.99.1-1.amzn2.aarch64
rust-analyzer-1.99.1-1.amzn2.aarch64
clippy-1.99.1-1.amzn2.aarch64
noarch:
rust-debugger-common-1.99.1-1.amzn2.noarch
rust-gdb-1.99.1-1.amzn2.noarch
rust-src-1.99.1-1.amzn2.noarch
rust-toolset-srpm-macros-1.99.1-1.amzn2.noarch
rust-toolset-1.99.1-1.amzn2.noarch
src:
rust-1.99.1-1.amzn2.src
x86_64:
rust-1.99.1-1.amzn2.x86_64
rust-std-static-1.99.1-1.amzn2.x86_64
rust-doc-1.99.1-1.amzn2.x86_64
cargo-1.99.1-1.amzn2.x86_64
rustfmt-1.99.1-1.amzn2.x86_64
rust-analyzer-1.99.1-1.amzn2.x86_64
clippy-1.99.1-1.amzn2.x86_64