Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2026-82249: 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-82247: 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).
Fixed packages 12
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | cargo | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | clippy | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-analyzer | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-debugger-common | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-doc | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-gdb | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-src | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-std-static | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-toolset | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rust-toolset-srpm-macros | 0:1.99.1-1.amzn2 |
| Amazon Linux · 2 | rustfmt | 0:1.99.1-1.amzn2 |
Vulnerabilities 2
-
High 7.5
gitoxide before 0.37.1 HTTP Basic credential leak via URL parsing
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…
-
Low 3.1
gitoxide before 0.38.2 Credential Helper Protocol Field Injection
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 crede…