rpm package
opensuse/python-GitPython&distro=openSUSE Tumbleweed
pkg:rpm/opensuse/python-GitPython&distro=openSUSE%20Tumbleweed
Vulnerabilities (30)
| CVE | Sev | CVSS | KEV | Affected versions | Fixed in | Published | Description |
|---|---|---|---|---|---|---|---|
| CVE-2026-114145 | Hig | 7.5 | < 3.2.1-1.1 | 3.2.1-1.1 | Oct 21, 2026 | GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x, | |
| CVE-2026-110859 | Hig | 7.5 | < 3.2.1-1.1 | 3.2.1-1.1 | Oct 14, 2026 | GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file= | |
| CVE-2026-110858 | Hig | 8.1 | < 3.2.1-1.1 | 3.2.1-1.1 | Oct 14, 2026 | GitPython from 3.1.30 before 3.2.0 contains a remote code execution vulnerability in Remote.pull() whose unsafe-option guard inspects only keyword arguments, not the positional refspec. Attackers controlling the refspec can supply --upload-pack= to execute OS commands as | |
| CVE-2026-110857 | Hig | 7.5 | < 3.2.1-1.1 | 3.2.1-1.1 | Oct 14, 2026 | GitPython before 3.2.0 contains a remote code execution vulnerability that allows attackers to run commands because Git.ls_remote forwards URLs without check_unsafe_protocols validation. Attackers can supply ext:: remote-helper URLs to execute commands when git permits the ext tr | |
| CVE-2026-110856 | Hig | 7.5 | < 3.2.1-1.1 | 3.2.1-1.1 | Oct 14, 2026 | GitPython before 3.2.0 contains a regular expression denial of service vulnerability in the _re_actor_epoch pattern used by parse_actor_and_date on author, committer, and tagger lines. Attackers can serve repositories with commit or tag objects containing long space-filled lines | |
| CVE-2026-110855 | Med | 6.5 | < 3.2.1-1.1 | 3.2.1-1.1 | Oct 14, 2026 | GitPython before 3.2.0 contains an information disclosure vulnerability that allows malicious repositories to expand environment variables via separate_git_dir in Repo._clone(), which omits expand_vars=False when calling Git.polish_url(). Attackers can craft a .gitmodules submodu | |
| CVE-2026-100689 | Med | 5.9 | < 3.2.0-1.1 | 3.2.0-1.1 | Sep 26, 2026 | GitPython before 3.1.62 does not validate the `path` field read from an untrusted .gitmodules file when updating submodules. While a prior fix (GHSA-hmq2-w58f-27jc) added Submodule._validated_name() to constrain the `name` field, and GitPython's own containment guard Submodule._t | |
| CVE-2026-78679 | Med | 6.5 | < 3.1.59-3.1 | 3.1.59-3.1 | Aug 25, 2026 | GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file= to read arbitrary files, with contents returned in the | |
| CVE-2026-78678 | Med | 6.5 | < 3.1.59-3.1 | 3.1.59-3.1 | Aug 25, 2026 | GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents | |
| CVE-2026-78676 | Cri | 9.8 | < 3.1.59-3.1 | 3.1.59-3.1 | Aug 25, 2026 | GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after | |
| CVE-2026-76222 | Hig | 8.2 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 19, 2026 | GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule nam | |
| CVE-2026-76221 | Hig | 8.8 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 19, 2026 | GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject malicious option name | |
| CVE-2026-76219 | Hig | 8.1 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 19, 2026 | GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers | |
| CVE-2026-76217 | Med | 6.5 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 19, 2026 | GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with ful | |
| CVE-2026-73624 | Hig | 8.1 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 13, 2026 | GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to at | |
| CVE-2026-73623 | Hig | 7.5 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 13, 2026 | GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout | |
| CVE-2026-73621 | Med | 5.4 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 13, 2026 | GitPython before 3.1.56 contains an argument injection vulnerability in the Commit.count() method, which forwards keyword arguments to 'git rev-list' without the check_unsafe_options guard present in the sibling iter_items method. An attacker who can control options passed to Com | |
| CVE-2026-73620 | Hig | 8.1 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 13, 2026 | GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files retu | |
| CVE-2026-73619 | Med | 6.5 | < 3.1.59-2.1 | 3.1.59-2.1 | Aug 13, 2026 | GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned | |
| CVE-2026-69097 | Hig | 7.0 | < 3.1.58-1.1 | 3.1.58-1.1 | Aug 3, 2026 | GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config |
- affected < 3.2.1-1.1fixed 3.2.1-1.1
GitPython is a python library used to interact with Git repositories. Prior to 3.2.1, create_submodule() in git/objects/submodule/base.py accepts an attacker-influenced submodule path such as .git/hooks and invokes _clone_repo() before safely rejecting the destination. In 3.1.x,
- affected < 3.2.1-1.1fixed 3.2.1-1.1
GitPython before 3.2.0 contains an argument injection vulnerability in Head.checkout() that allows remote attackers to read arbitrary files by supplying a branch name parsed as a git option. Attackers can host a repository whose default branch is named --pathspec-from-file=
- affected < 3.2.1-1.1fixed 3.2.1-1.1
GitPython from 3.1.30 before 3.2.0 contains a remote code execution vulnerability in Remote.pull() whose unsafe-option guard inspects only keyword arguments, not the positional refspec. Attackers controlling the refspec can supply --upload-pack= to execute OS commands as
- affected < 3.2.1-1.1fixed 3.2.1-1.1
GitPython before 3.2.0 contains a remote code execution vulnerability that allows attackers to run commands because Git.ls_remote forwards URLs without check_unsafe_protocols validation. Attackers can supply ext:: remote-helper URLs to execute commands when git permits the ext tr
- affected < 3.2.1-1.1fixed 3.2.1-1.1
GitPython before 3.2.0 contains a regular expression denial of service vulnerability in the _re_actor_epoch pattern used by parse_actor_and_date on author, committer, and tagger lines. Attackers can serve repositories with commit or tag objects containing long space-filled lines
- affected < 3.2.1-1.1fixed 3.2.1-1.1
GitPython before 3.2.0 contains an information disclosure vulnerability that allows malicious repositories to expand environment variables via separate_git_dir in Repo._clone(), which omits expand_vars=False when calling Git.polish_url(). Attackers can craft a .gitmodules submodu
- affected < 3.2.0-1.1fixed 3.2.0-1.1
GitPython before 3.1.62 does not validate the `path` field read from an untrusted .gitmodules file when updating submodules. While a prior fix (GHSA-hmq2-w58f-27jc) added Submodule._validated_name() to constrain the `name` field, and GitPython's own containment guard Submodule._t
- affected < 3.1.59-3.1fixed 3.1.59-3.1
GitPython before 3.1.59 contains an arbitrary file read vulnerability in TagReference.create() where a positional reference parameter bypasses the unsafe option guard. Attackers can supply a reference value like --file= to read arbitrary files, with contents returned in the
- affected < 3.1.59-3.1fixed 3.1.59-3.1
GitPython versions before 3.1.59 contain an incomplete denylist in the unsafe_git_revision_options guard that omits --contents and -S options, allowing attackers to read arbitrary files by passing these options to Repo.blame(). Attackers can supply revision values like --contents
- affected < 3.1.59-3.1fixed 3.1.59-3.1
GitPython before 3.1.59 fails to safely re-serialize multi-line git-config values during write operations, corrupting dormant quoted values into injected directives like core.hooksPath. Attackers can craft config files with embedded newlines that become live git directives after
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython before 3.1.58 fails to validate submodule names from .gitmodules files, allowing attackers to create Git repositories at arbitrary filesystem paths outside the intended clone directory. Attackers can craft malicious repositories with traversal sequences in submodule nam
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject malicious option name
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython versions before 3.1.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython versions before 3.1.58 fail to validate options passed to git rm and git checkout commands in IndexFile.remove() and Head.checkout(). Attackers can supply --pathspec-from-file and --pathspec-file-nul parameters to read arbitrary files accessible to the process, with ful
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to at
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython before 3.1.54 contains an incomplete denylist in unsafe_git_clone_options that omits --template, allowing attackers to achieve arbitrary command execution during clone operations. Attackers can supply --template pointing to a directory containing malicious post-checkout
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython before 3.1.56 contains an argument injection vulnerability in the Commit.count() method, which forwards keyword arguments to 'git rev-list' without the check_unsafe_options guard present in the sibling iter_items method. An attacker who can control options passed to Com
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython before 3.1.57 fails to guard git option forwarding in IndexFile.checkout() and TagReference.create(), allowing attackers to pass unsafe options via kwargs. Attackers can use --prefix to overwrite arbitrary files with repository content or -F to read arbitrary files retu
- affected < 3.1.59-2.1fixed 3.1.59-2.1
GitPython before 3.1.57 contains an incomplete denylist in the unsafe_git_archive_options guard that omits --add-file and --add-virtual-file options. Attackers can supply these options to Repo.archive() to read arbitrary files from the filesystem and include them in the returned
- affected < 3.1.58-1.1fixed 3.1.58-1.1
GitPython before 3.1.53 fails to properly escape section names in git config files, allowing attackers to inject arbitrary configuration directives through malicious submodule names. Attackers can inject core.sshCommand or other dangerous config keys into the victim's .git/config
Page 1 of 2