Уязвимость удаленного выполнения кода была обнаружена в GitHub Enterprise Server в службе Git (babeld). babeld содержал ссылки на внутренние коллекции при вызове в библиотеку SSH, где повторный вызов может изменить коллекцию и аннулировать эти ссылки. Злоумышленник с учетной записью и доступом SSH к экземпляру может использовать этот use-after-free в контролируемой записи и выполнять произвольные команды как babeld, включая раскрытие его секретов окружающей среды. Эксплуатация требовала смещения памяти сборки; неудачные попытки потерпели крах.
Это повлияло на все выпуски до 3.23 и было исправлено в 3.22.3, 3.21.8, 3.20.10 и 3.19.14. Об этой уязвимости было сообщено через программу GitHub Bug Bounty.
Показать оригинальное описание (EN)
A remote code execution vulnerability was identified in GitHub Enterprise Server in the Git service (babeld). babeld held references into internal collections while calling into the SSH library, where a re-entrant callback could modify a collection and invalidate those references. An attacker with an account and SSH access to the instance could leverage this use-after-free into a controlled write and run arbitrary commands as babeld, including disclosure of its environment secrets. Exploitation required per-build memory offsets; failed attempts crashed babeld. This affected all releases prior to 3.23 and was fixed in 3.22.3, 3.21.8, 3.20.10, and 3.19.14. This vulnerability was reported via the GitHub Bug Bounty program.
Характеристики атаки
Последствия
Строка CVSS v4.0