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

exploitDog

debian логотип

CVE-2023-45677

Опубликовано: 21 окт. 2023
Источник: debian
EPSS Низкий

Описание

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[len] = (char)'\0';`. The root cause is that if `len` read in `start_decoder` is a negative number and `setup_malloc` successfully allocates memory in that case, but memory write is done with a negative index `len`. Similarly if len is INT_MAX the integer overflow len+1 happens in `f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));` and `f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));`. This issue may lead to code execution.

Пакеты

ПакетСтатусВерсия исправленияРелизТип
libstbunfixedpackage
libstbpostponedtrixiepackage
libstbpostponedbookwormpackage
libstbno-dsabullseyepackage
libstbno-dsabusterpackage

Примечания

  • https://securitylab.github.com/advisories/GHSL-2023-145_GHSL-2023-151_stb_image_h/ (issue 10)

  • https://github.com/nothings/stb/pull/1555

EPSS

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

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

CVSS3: 7.3
ubuntu
больше 2 лет назад

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[len] = (char)'\0';`. The root cause is that if `len` read in `start_decoder` is a negative number and `setup_malloc` successfully allocates memory in that case, but memory write is done with a negative index `len`. Similarly if len is INT_MAX the integer overflow len+1 happens in `f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));` and `f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));`. This issue may lead to code execution.

CVSS3: 7.3
nvd
больше 2 лет назад

stb_vorbis is a single file MIT licensed library for processing ogg vorbis files. A crafted file may trigger out of bounds write in `f->vendor[len] = (char)'\0';`. The root cause is that if `len` read in `start_decoder` is a negative number and `setup_malloc` successfully allocates memory in that case, but memory write is done with a negative index `len`. Similarly if len is INT_MAX the integer overflow len+1 happens in `f->vendor = (char*)setup_malloc(f, sizeof(char) * (len+1));` and `f->comment_list[i] = (char*)setup_malloc(f, sizeof(char) * (len+1));`. This issue may lead to code execution.

CVSS3: 7.3
fstec
больше 2 лет назад

Уязвимость библиотек для C/C++ Libstb, связанная с записью за границами буфера, позволяющая нарушителю вызвать отказ в обслуживании

suse-cvrf
около 1 года назад

Security update for SDL2_sound

EPSS

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