GLSA 200504-06: sharutils: Insecure temporary file creation

Опасность:средняя
Заголовок:sharutils: Insecure temporary file creation
Дата:06.04.2005
Ошибки: #87939
ID:200504-06

Сводка

The unshar utility is vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files.

Назначение

sharutils is a collection of tools to deal with shar archives.

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

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

Описание

Joey Hess has discovered that the program unshar, which is a part of sharutils, creates temporary files in a world-writable directory with predictable names.

Воздействие

A local attacker could create symbolic links in the temporary files directory, pointing to a valid file somewhere on the filesystem. When unshar is executed, this would result in the file being overwritten with the rights of the user running the utility, which could be the root user.

Обход

There is no known workaround at this time.

Решение

All sharutils users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-arch/sharutils-4.2.1-r11"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!