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

exploitDog

nvd логотип

CVE-2023-45675

Опубликовано: 21 окт. 2023
Источник: nvd
CVSS3: 6.5
CVSS3: 7.8
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 the len read in start_decoder is -1 and len + 1 becomes 0 when passed to setup_malloc. The setup_malloc behaves differently when f->alloc.alloc_buffer is pre-allocated. Instead of returning NULL as in malloc case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.

Ссылки

Уязвимые конфигурации

Конфигурация 1
cpe:2.3:a:nothings:stb_vorbis.c:1.22:*:*:*:*:*:*:*

EPSS

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

6.5 Medium

CVSS3

7.8 High

CVSS3

Дефекты

CWE-787
CWE-787

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

CVSS3: 6.5
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 the len read in `start_decoder` is `-1` and `len + 1` becomes 0 when passed to `setup_malloc`. The `setup_malloc` behaves differently when `f->alloc.alloc_buffer` is pre-allocated. Instead of returning `NULL` as in `malloc` case it shifts the pre-allocated buffer by zero and returns the currently available memory block. This issue may lead to code execution.

CVSS3: 6.5
debian
больше 2 лет назад

stb_vorbis is a single file MIT licensed library for processing ogg vo ...

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

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

EPSS

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

6.5 Medium

CVSS3

7.8 High

CVSS3

Дефекты

CWE-787
CWE-787