- Reported
-
- Issued
-
- Package
-
pancurses
(crates.io)
- Type
-
Vulnerability
- Aliases
-
- References
-
- CVSS Score
- 7.5
HIGH
- CVSS Details
-
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
- CVSS Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Patched
-
no patched versions
- Affected Functions
- Version
pancurses::mvprintw
-
pancurses::printw
-
Description
pancurses::mvprintw
and pancurses::printw
passes a pointer from a rust &str
to C,
allowing hostile input to execute a format string attack, which trivially allows writing
arbitrary data to stack memory.
Advisory available under CC0-1.0
license.