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

exploitDog

github логотип

GHSA-rrp4-2xx3-mv29

Опубликовано: 01 фев. 2022
Источник: github
Github: Прошло ревью
CVSS3: 6.8

Описание

Command injection in gh-ost

Gh-ost version <= 1.1.2 allows users to inject DSN strings via the -database parameter.

This is a low severity vulnerability as the attacker must have access to the target host or trick an administrator into executing a malicious gh-ost command on a host running gh-ost, plus network access from host running gh-ost to the attack's malicious MySQL server.

Impact

This issue may lead to arbitrary local file read.

Patches

Fixed in 1.1.3+.

Workarounds

None

References

For more information

If you have any questions or comments about this advisory:

Пакеты

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

github.com/github/gh-ost

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

< 1.1.3

1.1.3

EPSS

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

6.8 Medium

CVSS3

Дефекты

CWE-20
CWE-74

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

CVSS3: 6.8
nvd
около 4 лет назад

gh-ost is a triggerless online schema migration solution for MySQL. Versions prior to 1.1.3 are subject to an arbitrary file read vulnerability. The attacker must have access to the target host or trick an administrator into executing a malicious gh-ost command on a host running gh-ost, plus network access from host running gh-ost to the attack's malicious MySQL server. The `-database` parameter does not properly sanitize user input which can lead to arbitrary file reads.

EPSS

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

6.8 Medium

CVSS3

Дефекты

CWE-20
CWE-74