Skip to content
OpenAdvisories
Low · 2.5 CVE-2024-43785 EUVD-2024-2536GHSA-88g2-r9rw-g55hRUSTSEC-2024-0364

gitoxide-core does not neutralize special characters for terminals

Published Aug 22, 2024 · Updated Aug 22, 2024 · Assigned by GitHub_M

Description

gitoxide An idiomatic, lean, fast & safe pure Rust implementation of Git. gitoxide-core, which provides most underlying functionality of the gix and ein commands, does not neutralize newlines, backspaces, or control characters—including those that form ANSI escape sequences—that appear in a repository's paths, author and committer names, commit messages, or other metadata. Such text may be written as part of the output of a command, as well as appearing in error messages when an operation fails. This sometimes allows an untrusted repository to misrepresent its contents and to alter or concoct error messages.

Affected products

VendorProductAffectedFixed
Byron gitoxide <= 0.41.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io gitoxide <= 0.41.0 — GHSA-88g2-r9rw-g55h
crates.io gitoxide-core <= 0.45.0 — GHSA-88g2-r9rw-g55h
crates.io gitoxide-core >= 0.0.0-0 — RUSTSEC-2024-0364

References