CVE-2024-43785 gitoxide-core does not neutralize special characters for terminals
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/Byron/gitoxide/security/advisories/GHSA-88g2-r9rw-g55h vendor-advisory
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com issue-tracking
- github.com