Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-v725-9546-7q7m

Опубликовано: 06 янв. 2025
Источник: github
Github: Прошло ревью
CVSS4: 9.2
CVSS3: 9.8

Описание

go-git has an Argument Injection via the URL field

Impact

An argument injection vulnerability was discovered in go-git versions prior to v5.13.

Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries.

Affected versions

Users running versions of go-git from v4 and above are recommended to upgrade to v5.13 in order to mitigate this vulnerability.

Workarounds

In cases where a bump to the latest version of go-git is not possible, we recommend users to enforce restrict validation rules for values passed in the URL field.

Credit

Thanks to @vin01 for responsibly disclosing this vulnerability to us.

Пакеты

Наименование

gopkg.in/src-d/go-git.v4

go
Затронутые версииВерсия исправления

>= 4.0.0, <= 4.13.1

Отсутствует

Наименование

github.com/go-git/go-git/v5

go
Затронутые версииВерсия исправления

< 5.13.0

5.13.0

EPSS

Процентиль: 31%
0.00112
Низкий

9.2 Critical

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-88

Связанные уязвимости

CVSS3: 9.8
ubuntu
5 месяцев назад

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

CVSS3: 8.1
redhat
5 месяцев назад

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

CVSS3: 9.8
nvd
5 месяцев назад

go-git is a highly extensible git implementation library written in pure Go. An argument injection vulnerability was discovered in go-git versions prior to v5.13. Successful exploitation of this vulnerability could allow an attacker to set arbitrary values to git-upload-pack flags. This only happens when the file transport protocol is being used, as that is the only protocol that shells out to git binaries. This vulnerability is fixed in 5.13.0.

CVSS3: 9.8
msrc
5 месяцев назад

Описание отсутствует

CVSS3: 9.8
debian
5 месяцев назад

go-git is a highly extensible git implementation library written in pu ...

EPSS

Процентиль: 31%
0.00112
Низкий

9.2 Critical

CVSS4

9.8 Critical

CVSS3

Дефекты

CWE-88