~ / search / GHSA-32v7-ghpr-c8hg

GHSA-32v7-ghpr-c8hg

Mishandling of format strings in ncurses

Source: GitHub Advisory Database (reviewed) High CVE-2019-15547

Packages

EcosystemPackageAffectedFixed in
crates.io ncurses <= 5.101.0 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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).

References

External links from the advisory. They lead to third-party sites.