Out-of-bounds чтение уязвимостей в pybddisasm Python привязка может раскрыть соседнюю память процесса во время декодирования команд. Функция nd_decode может считывать до 15 байт без проверки фактической длины поставляемого буфера Python. Функции nd_decode_ex, nd_decode_ex2 и nd_decode_with_context передают размер буфера вызывающего абонента в декодер без проверки его на фактическую длину буфера Python.
Данные, считываемые за пределами буфера, могут быть выставлены через nd_get_instrux_bytes, который возвращает список фиксированной длины в 16 байт. Эксплуатация требует приложения для вызова затронутого APIs с коротким буфером или негабаритной длиной и для показа полученных байтов злоумышленнику. Пакет pybddisasm больше не поддерживается.
Показать оригинальное описание (EN)
Out-of-bounds read vulnerabilities in the pybddisasm Python bindings may disclose adjacent process memory during instruction decoding. The nd_decode function may read up to 15 bytes without checking the actual length of the supplied Python buffer. The nd_decode_ex, nd_decode_ex2, and nd_decode_with_context functions pass the caller-supplied buffer size to the decoder without validating it against the actual length of the Python buffer. Data read beyond the buffer may be exposed through nd_get_instrux_bytes, which returns a fixed-length list of 16 bytes. Exploitation requires an application to invoke the affected APIs with a short buffer or an oversized length and to expose the resulting bytes to an attacker. The pybddisasm package is no longer maintained.
Характеристики атаки
Последствия
Строка CVSS v4.0