GLSA 200406-18: gzip: Insecure creation of temporary files

Опасность:средняя
Заголовок:gzip: Insecure creation of temporary files
Дата:24.06.2004
Ошибки: #54890
ID:200406-18

Сводка

gzip contain a bug potentially allowing an attacker to execute arbitrary commands.

Назначение

gzip (GNU zip) is popular compression program. The included gzexe utility allows you to compress executables in place and have them automatically uncompress and execute when you run them.

Уязвимые пакеты

Пакет Уязвимый Нетронутый Архитектура(ы)
app-arch/gzip <= 1.3.3-r3 >= 1.3.3-r4 All supported architectures

Описание

The script gzexe included with gzip contains a bug in the code that handles tempfile creation. If the creation of a temp file fails when using gzexe fails instead of bailing out it executes the command given as argument.

Воздействие

This could lead to priviege escalation by running commands under the rights of the user running the self extracting file.

Обход

There is no known workaround at this time. All users are encouraged to upgrade to the latest available version.

Решение

All gzip users should upgrade to the latest stable version:

    # emerge sync
    
    # emerge -pv ">=app-arch/gzip-1.3.3-r4"
    # emerge ">=app-arch/gzip-1.3.3-r4"

Additionally, once the upgrade is complete, all self extracting files created with earlier versions gzexe should be recreated, since the vulnerability is actually embedded in those executables.

Ссылки

Наличие

Этот GLSA и любые обновления для нее доступны для просмотра на сайте Gentoo Security: http://security.gentoo.org/glsa/glsa-200406-18.xml

Опасения?

Безопасность является одной из главных задач Gentoo Linux и первостепенное значение обеспечить конфиденциальность и безопасность машин наших пользователей. Любые соображения безопасности должны быть адресованы security@gentoo.org или в качестве альтернативы, вы можете сообщить об ошибке на https://bugs.gentoo.org.

Лицензия

Copyright 2010 Gentoo Foundation, Inc; текст ссылки принадлежит его владельцу(ам). Содержание этого документа распространяется на условиях лицензии Creative Commons - Attribution / Share Alike.

Спасибо!