GLSA 200501-38: Perl: rmtree and DBI tmpfile vulnerabilities

Опасность:средняя
Заголовок:Perl: rmtree and DBI tmpfile vulnerabilities
Дата:26.01.2005
Ошибки: #75696, #78634, #79685
ID:200501-38

Сводка

The Perl DBI library and File::Path::rmtree function are vulnerable to symlink attacks.

Назначение

Perl is a cross platform programming language. The DBI is the standard database interface module for Perl.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
dev-perl/DBI <= 1.38 >= 1.37-r1 All supported architectures
dev-lang/perl <= 5.8.6-r3 >= 5.8.6-r4 All supported architectures

Описание

Javier Fernandez-Sanguino Pena discovered that the DBI library creates temporary files in an insecure, predictable way (CAN-2005-0077). Paul Szabo found out that "File::Path::rmtree" is vulnerable to various race conditions (CAN-2004-0452, CAN-2005-0448).

Воздействие

A local attacker could create symbolic links in the temporary files directory that point to a valid file somewhere on the filesystem. When the DBI library or File::Path::rmtree is executed, this could be used to overwrite or remove files with the rights of the user calling these functions.

Обход

There are no known workarounds at this time.

Решение

All Perl users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose dev-lang/perl

All DBI library users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose dev-perl/DBI

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!