Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2011-2895

Опубликовано: 10 авг. 2011
Источник: redhat
CVSS2: 6.9
EPSS Низкий

Уязвимость бесконечного цикла или переполнения буфера в декомпрессоре LZW, используемом в различных продуктах, включая X.Org libXfont и реализации 4.3BSD

Описание

Обнаружена уязвимость в декомпрессоре LZW:

  1. В функции BufCompressedFill в файле fontfile/decompress.c в X.Org libXfont.
  2. В файле 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 4busyboxNot affected
Red Hat Enterprise Linux 4gzipNot affected
Red Hat Enterprise Linux 4mailxNot affected
Red Hat Enterprise Linux 4ncompressNot affected
Red Hat Enterprise Linux 5busyboxNot affected
Red Hat Enterprise Linux 5freetypeNot affected
Red Hat Enterprise Linux 5gzipNot affected
Red Hat Enterprise Linux 5mailxNot affected
Red Hat Enterprise Linux 5ncompressNot affected
Red Hat Enterprise Linux 6busyboxNot affected

Показывать по

Дополнительная информация

Статус:

Important
https://bugzilla.redhat.com/show_bug.cgi?id=727624BSD compress LZW decoder buffer overflow

EPSS

Процентиль: 90%
0.06091
Низкий

6.9 Medium

CVSS2

Связанные уязвимости

ubuntu
почти 14 лет назад

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.

nvd
почти 14 лет назад

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.

debian
почти 14 лет назад

The LZW decompressor in (1) the BufCompressedFill function in fontfile ...

github
около 3 лет назад

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.

oracle-oval
около 14 лет назад

ELSA-2011-1154: libXfont security update (IMPORTANT)

EPSS

Процентиль: 90%
0.06091
Низкий

6.9 Medium

CVSS2