GLSA 202405-19: xar: Unsafe Extraction

Опасность:средняя
Заголовок:xar: Unsafe Extraction
Дата:07.05.2024
Ошибки: #820641
ID:202405-19

Сводка

A vulnerability has been discovered in xar, which can lead to privilege escalation.

Назначение

xar provides an easily extensible archive format.

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

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

Описание

A vulnerability has been discovered in xar. Please review the CVE identifier referenced below for details.

Воздействие

xar allows for a forward-slash separated path to be specified in the file name property, e.g. <name>x/foo</name> – as long as it doesn’t traverse upwards, and the path exists within the current directory. This means an attacker can create a .xar file which contains both a directory symlink, and a file with a name property which points into the extracted symlink directory. By abusing symlink directories in this manner, an attacker can write arbitrary files to any directory on the filesystem – providing the user has permissions to write to it.

Обход

There is no known workaround at this time.

Решение

All xar users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=app-arch/xar-1.8.0.0.487.100.1"
        

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!