GLSA 200802-01: SDL_image: Two buffer overflow vulnerabilities

Опасность:средняя
Заголовок:SDL_image: Two buffer overflow vulnerabilities
Дата:06.02.2008
Ошибки: #207933
ID:200802-01

Сводка

Two boundary errors have been identified in SDL_image allowing for the remote execution of arbitrary code or the crash of the application using the library.

Назначение

SDL_image is an image file library that loads images as SDL surfaces, and supports various formats like BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, XCF, XPM, and XV.

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

Пакет Уязвимый Нетронутый Архитектура(ы)
media-libs/sdl-image < 1.2.6-r1 >= 1.2.6-r1 All supported architectures

Описание

The LWZReadByte() function in file IMG_gif.c and the IMG_LoadLBM_RW() function in file IMG_lbm.c each contain a boundary error that can be triggered to cause a static buffer overflow and a heap-based buffer overflow. The first boundary error comes from some old vulnerable GD PHP code (CVE-2006-4484).

Воздействие

A remote attacker can make an application using the SDL_image library to process a specially crafted GIF file or IFF ILBM file that will trigger a buffer overflow, resulting in the execution of arbitrary code with the permissions of the application or the application crash.

Обход

There is no known workaround at this time.

Решение

All SDL_image users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/sdl-image-1.2.6-r1"

Ссылки

Наличие

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

Опасения?

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

Лицензия

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

Спасибо!