Skip to content

CVE-2024-43785 gitoxide-core does not neutralize special characters for terminals

LowCVSS 2.5 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
crates.io gitoxide-core(crates.io) <= 0.45.0; >= 0.0.0-0 after 0.45.0 Partially fixed
Byron gitoxide <= 0.37.0; = <= 0.41.0 after 0.37.0 Fixed
crates.io gitoxide(crates.io) <= 0.41.0 after 0.41.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io gitoxide-core(crates.io) <= 0.45.0 No fix listed
crates.io gitoxide(crates.io) <= 0.41.0 No fix listed
crates.io gitoxide-core(crates.io) >= 0.0.0-0 No fix listed
Byron gitoxide = <= 0.41.0 No fix listed
Byron gitoxide <= 0.37.0 No fix listed

References