GLSA 202309-04: RAR, UnRAR: Arbitrary File Overwrite

Опасность:средняя
Заголовок:RAR, UnRAR: Arbitrary File Overwrite
Дата:17.09.2023
Ошибки: #843611, #849686, #912652
ID:202309-04

Сводка

An arbitrary file overwrite vulnerability has been discovered in RAR and UnRAR, potentially resulting in arbitrary code execution.

Назначение

RAR and UnRAR provide command line interfaces for compressing and decompressing RAR files.

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

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

Описание

Due to an error in the validation of symbolic links within archives, RAR and UnRAR can potentially write files to a directory which is outside of the intended unpack directory.

Воздействие

If the user running RAR or UnRAR extracts a malicious archive, the archive could overwrite a file such as the user's shell initialization scripts, potentially resulting in arbitrary code execution in the context of that user.

Обход

There is no known workaround at this time.

Решение

All RAR users should upgrade to the latest version:

          # emerge --sync
          # emerge --ask --oneshot --verbose ">=app-arch/rar-6.23"
        

All UnRAR users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=app-arch/unrar-6.2.10"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!