Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | rust-ncurses | No fix yet | — |
| Ubuntu 20.04 LTS | rust-ncurses | No fix yet | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | ncurses | <= 5.101.0 | — | GHSA-32v7-ghpr-c8hg |
| crates.io | ncurses | >= 0.0.0-0 | — | RUSTSEC-2019-0006 |