GHSA-x77x-7mmh-cxv3 ncurses exposes uninitialized memory in string reading functions
MediumCVSS 5.5
- Published
- Updated
- Exploit status
- No public exploit known
Description
Multiple string reading functions expose uninitialized memory by setting length to capacity when no null terminator is found.
This allows reading uninitialized memory which may contain sensitive data from previous allocations.
The ncurses-rs repository is archived and unmaintained.
Upgrade path
1 package: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io ncurses(crates.io) | <= 6.0.1; >= 0.0.0-0 | after 6.0.1 | Partially fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io ncurses(crates.io) | <= 6.0.1 | No fix listed |
| crates.io ncurses(crates.io) | >= 0.0.0-0 | No fix listed |
References
- github.com patch
- github.com product
- rustsec.org vendor-advisory
- crates.io product
- github.com