Описание
Уязвимость функции Repo.clone_from() и Repo.clone() модуля git/repo/base.py библиотеки Python для взаимодействия с git-репозиториями GitPython связана с неверным ограничением имени пути к каталогу при обработке параметра --separate-git-dir. Эксплуатация уязвимости может позволить нарушителю, действующему удаленно, записывать произвольные файлы
Вендор
Наименование ПО
Версия ПО
Тип ПО
Операционные системы и аппаратные платформы
Уровень опасности уязвимости
Возможные меры по устранению уязвимости
Статус уязвимости
Наличие эксплойта
Информация об устранении
Идентификаторы других систем описаний уязвимостей
- CVE
- GHSA
EPSS
7.5 High
CVSS3
7.8 High
CVSS2
Связанные уязвимости
GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.
GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone_options, allowing attackers to create arbitrary git directories outside the intended clone destination. Attackers can pass a separate_git_dir parameter to Repo.clone_from() or Repo.clone() to redirect repository metadata to an attacker-controlled filesystem path, enabling arbitrary directory creation and potential hook execution.
GitPython before 3.1.59 omits --separate-git-dir from unsafe_git_clone ...
EPSS
7.5 High
CVSS3
7.8 High
CVSS2