GLSA 200412-05: mirrorselect: Insecure temporary file creation

Опасность:средняя
Заголовок:mirrorselect: Insecure temporary file creation
Дата:07.12.2004
Ошибки: #73545
ID:200412-05

Сводка

mirrorselect is vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files.

Назначение

mirrorselect is a tool to help select distfiles mirrors for Gentoo.

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

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

Описание

Ervin Nemeth discovered that mirrorselect creates temporary files in world-writable directories 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 mirrorselect 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 mirrorselect users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=app-portage/mirrorselect-0.89"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!