HTSlib — это библиотека для чтения и записи форматов файлов биоинформатики. CRAM — это сжатый формат, в котором хранятся данные выравнивания последовательностей ДНК. В функции `cram_decode_slice()`, вызываемой при чтении записей CRAM, проверка поля идентификатора ссылки произошла слишком поздно, что позволило выполнить два чтения за пределами поля до того, как были обнаружены недопустимые данные. The bug does allow two values to be leaked to the caller, however as the function reports an error it may be difficult to exploit them.
It is also possible that the program will crash due to trying to access invalid memory. Версии 1.23.1, 1.22.2 и 1.21.1 включают исправления этой проблемы. Для этой проблемы не существует решения.
Показать оригинальное описание (EN)
HTSlib is a library for reading and writing bioinformatics file formats. CRAM is a compressed format which stores DNA sequence alignment data. In the `cram_decode_slice()` function called while reading CRAM records, validation of the reference id field occurred too late, allowing two out of bounds reads to occur before the invalid data was detected. The bug does allow two values to be leaked to the caller, however as the function reports an error it may be difficult to exploit them. It is also possible that the program will crash due to trying to access invalid memory. Versions 1.23.1, 1.22.2 and 1.21.1 include fixes for this issue. There is no workaround for this issue.
Характеристики атаки
Последствия
Строка CVSS v4.0
Тип уязвимости (CWE)
Уязвимые продукты 3
| Конфигурация | От (включительно) | До (исключительно) |
|---|---|---|
|
Htslib Htslib
cpe:2.3:a:htslib:htslib:*:*:*:*:*:*:*:*
|
— |
1.21.1
|
|
Htslib Htslib
cpe:2.3:a:htslib:htslib:*:*:*:*:*:*:*:*
|
1.22
|
1.22.2
|
|
Htslib Htslib
cpe:2.3:a:htslib:htslib:1.23:*:*:*:*:*:*:*
|
— | — |