gix-submodule до 0.29.0 (gitoxyd до 0.5.21, gix до 0.84.0) неправильно проверяет поле обновления в .gitmodules, позволяя злоумышленникам обойти защиту CommandForbiddenInModulesConfiguration, когда подмодуль был инициализирован только с частичной конфигурацией в .git/config. Злоумышленник может внедрить произвольные команды оболочки через поле обновления в .gitmodules, которые будут выполняться при вызове Submodule::update() для ранее инициализированного подмодуля, что позволяет удаленно выполнять код.
Показать оригинальное описание (EN)
gix-submodule before 0.29.0 (gitoxide before 0.5.21, gix before 0.84.0) incorrectly validates the update field in .gitmodules, allowing attackers to bypass the CommandForbiddenInModulesConfiguration guard when a submodule has been initialized with only partial configuration in .git/config. An attacker can inject arbitrary shell commands via the update field in .gitmodules that will be executed when Submodule::update() is called on a previously-initialized submodule, enabling remote code execution.
Характеристики атаки
Последствия
Строка CVSS v4.0