DHI-ytmh-s7tl-a77y-t2fv
On windows, `atty` dereferences a potentially unaligned pointer.
- CVSS
- —
- EPSS
- —
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-28
- Product
- kapacitor-1-fips
Description
On windows, `atty` dereferences a potentially unaligned pointer. In practice however, the pointer won't be unaligned unless a custom global allocator is used. In particular, the `System` allocator on windows uses `HeapAlloc`, which guarantees a large enough alignment. # atty is Unmaintained A Pull Request with a fix has been provided over a year ago but the maintainer seems to be unreachable. Last release of `atty` was almost 3 years ago. ## Possible Alternative(s) The below list has not been vetted in any way and may or may not contain alternatives; - [std::io::IsTerminal](https://doc.rust-lang.org/stable/std/io/trait.IsTerminal.html) - Stable since Rust 1.70.0 - [is-terminal](https://crates.io/crates/is-terminal) - Standalone crate supporting Rust older than 1.70.0"
Sources
- OSV · first seen 2d ago · CC-BY 4.0
References
- https://scout.docker.com/v/DHI-ytmh-s7tl-a77y-t2fv advisory
- https://github.com/advisories/GHSA-g98v-hv3f-hcfr advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0145.html advisory
- https://github.com/softprops/atty/pull/51 fix
- https://github.com/softprops/atty/issues/50 web
- https://rustsec.org/advisories/RUSTSEC-2021-0145 advisory
- https://github.com/softprops/atty/issues/57 web