GLSA 200410-18: Ghostscript: Insecure temporary file use in multiple scripts

Опасность:средняя
Заголовок:Ghostscript: Insecure temporary file use in multiple scripts
Дата:20.10.2004
Ошибки: #66357
ID:200410-18

Сводка

Multiple scripts in the Ghostscript package are vulnerable to symlink attacks, potentially allowing a local user to overwrite arbitrary files with the rights of the user running the script.

Назначение

Ghostscript is a software package providing an interpreter for the PostScript language and the PDF file format. It also provides output drivers for various file formats and printers.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
app-text/ghostscript-esp < 7.07.1-r7 >= 7.07.1-r7 All supported architectures

Описание

The pj-gs.sh, ps2epsi, pv.sh and sysvlp.sh scripts create temporary files in world-writeable 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 an affected script is called, this would result in the file to be overwritten with the rights of the user running the script, which could be the root user.

Обход

There is no known workaround at this time.

Решение

Ghostscript users on all architectures except PPC should upgrade to the latest version:

    # emerge sync

    # emerge -pv ">=app-text/ghostscript-esp-7.07.1-r7"
    # emerge ">=app-text/ghostscript-esp-7.07.1-r7"

Ghostscript users on the PPC architecture should upgrade to the latest stable version on their architecture:

# emerge sync # emerge -pv ">=app-text/ghostscript-esp-7.05.6-r2" # emerge ">=app-text/ghostscript-esp-7.05.6-r2"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!