gitoxide-core does not neutralize special characters for terminals
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.
Problem Types
Type | CWE ID | Description |
---|
CWE | CWE-150 | CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences |
Type: CWE
Description: CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
Metrics
Version | Base score | Base severity | Vector |
---|
3.1 | 2.5 | LOW | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N |
Version: 3.1
Base score: 2.5
Base severity: LOW
Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N