Описание
Mishandling of format strings in ncurses
ncurses exposes functions from the ncurses library which:
- Pass buffers without length to C functions that may write an arbitrary amount of data, leading to a buffer overflow. (instr, mvwinstr, etc)
- Passes rust &str to strings expecting C format arguments, allowing hostile input to execute a format string attack, which trivially allows writing arbitrary data to stack memory (functions in the printw family).
Пакеты
Наименование
ncurses
rust
Затронутые версииВерсия исправления
<= 5.101.0
Отсутствует
Связанные уязвимости
CVSS3: 7.5
ubuntu
больше 6 лет назад
An issue was discovered in the ncurses crate through 5.99.0 for Rust. There are format string issues in printw functions because C format arguments are mishandled.
CVSS3: 7.5
nvd
больше 6 лет назад
An issue was discovered in the ncurses crate through 5.99.0 for Rust. There are format string issues in printw functions because C format arguments are mishandled.
CVSS3: 7.5
debian
больше 6 лет назад
An issue was discovered in the ncurses crate through 5.99.0 for Rust. ...