Уязвимость бесконечного цикла или переполнения буфера в декомпрессоре LZW, используемом в различных продуктах, включая X.Org libXfont и реализации 4.3BSD
Описание
Обнаружена уязвимость в декомпрессоре LZW:
- В функции
BufCompressedFill
в файлеfontfile/decompress.c
в X.Org libXfont. - В файле
compress/compress.c
из реализации 4.3BSD, используемой вzopen.c
в OpenBSD, FreeBSD, NetBSD, FreeType и других продуктах.
Проблема заключается в том, что декомпрессор некорректно обрабатывает кодовые слова, отсутствующие в таблице декомпрессии при их обнаружении. Это позволяет злоумышленникам, зависящим от контекста, вызвать бесконечный цикл или переполнение буфера на куче (heap-based buffer overflow) и, возможно, выполнить произвольный код через специально созданный сжатый поток. Данная проблема связана с CVE-2006-1168 и CVE-2011-2896.
Затронутые версии ПО
- X.Org libXfont до версии 1.4.4
- Реализация 4.3BSD, используемая в:
- OpenBSD до версии 3.8
- FreeBSD
- NetBSD 4.0.x и 5.0.x до 5.0.3
- NetBSD 5.1.x до 5.1.1
- FreeType 2.1.9
- Другие продукты
Тип уязвимости
- Бесконечный цикл
- Переполнение буфера
- Выполнение произвольного кода
Идентификаторы
- Связанные проблемы: CVE-2006-1168, CVE-2011-2896
Затронутые пакеты
Платформа | Пакет | Состояние | Рекомендация | Релиз |
---|---|---|---|---|
Red Hat Enterprise Linux 4 | busybox | Not affected | ||
Red Hat Enterprise Linux 4 | gzip | Not affected | ||
Red Hat Enterprise Linux 4 | mailx | Not affected | ||
Red Hat Enterprise Linux 4 | ncompress | Not affected | ||
Red Hat Enterprise Linux 5 | busybox | Not affected | ||
Red Hat Enterprise Linux 5 | freetype | Not affected | ||
Red Hat Enterprise Linux 5 | gzip | Not affected | ||
Red Hat Enterprise Linux 5 | mailx | Not affected | ||
Red Hat Enterprise Linux 5 | ncompress | Not affected | ||
Red Hat Enterprise Linux 6 | busybox | Not affected |
Показывать по
Дополнительная информация
Статус:
EPSS
6.9 Medium
CVSS2
Связанные уязвимости
The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2896.
The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2896.
The LZW decompressor in (1) the BufCompressedFill function in fontfile ...
The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2896.
EPSS
6.9 Medium
CVSS2