Уязвимость в дельте OpenSSH GSSAPI, включенная в различные дистрибутивы Linux. Эта уязвимость затрагивает исправления GSSAPI, добавляемые различными дистрибутивами Linux, и не затрагивает сам исходный проект OpenSSH. Использование sshpkt_disconnect() при ошибке, которая не завершает процесс, позволяет злоумышленнику отправить неожиданный тип сообщения GSSAPI во время обмена ключами GSSAPI на сервер, который вызовет базовую функцию и продолжит выполнение программы без установки соответствующих переменных соединения.
Поскольку переменные не инициализированы значениями NULL, код позже обращается к этим неинициализированным переменным, обращаясь к случайной памяти, что может привести к неопределенному поведению. Рекомендуемый обходной путь — вместо этого использовать ssh_packet_disconnect(), который завершает процесс. Влияние уязвимости во многом зависит от конфигурации усиления флагов компилятора.
Показать оригинальное описание (EN)
Vulnerability in the OpenSSH GSSAPI delta included in various Linux distributions. This vulnerability affects the GSSAPI patches added by various Linux distributions and does not affect the OpenSSH upstream project itself. The usage of sshpkt_disconnect() on an error, which does not terminate the process, allows an attacker to send an unexpected GSSAPI message type during the GSSAPI key exchange to the server, which will call the underlying function and continue the execution of the program without setting the related connection variables. As the variables are not initialized to NULL the code later accesses those uninitialized variables, accessing random memory, which could lead to undefined behavior. The recommended workaround is to use ssh_packet_disconnect() instead, which does terminate the process. The impact of the vulnerability depends heavily on the compiler flag hardening configuration.
Характеристики атаки
Последствия
Строка CVSS v4.0