{"id":"DHI-ytmh-s7tl-a77y-t2fv","summary":"On windows, `atty` dereferences a potentially unaligned pointer.","details":"On windows, `atty` dereferences a potentially unaligned pointer.\n\nIn practice however, the pointer won't be unaligned unless a custom global allocator is used.\n\nIn particular, the `System` allocator on windows uses `HeapAlloc`, which guarantees a large enough alignment.\n\n# atty is Unmaintained\n\nA Pull Request with a fix has been provided over a year ago but the maintainer seems to be unreachable.\n\nLast release of `atty` was almost 3 years ago.\n\n## Possible Alternative(s)\n\nThe below list has not been vetted in any way and may or may not contain alternatives;\n\n- [std::io::IsTerminal](https://doc.rust-lang.org/stable/std/io/trait.IsTerminal.html) - Stable since Rust 1.70.0\n- [is-terminal](https://crates.io/crates/is-terminal) - Standalone crate supporting Rust older than 1.70.0\"\n","modified":"2026-11-28T08:15:20.306347141Z","published":"2026-11-25T14:54:32Z","upstream":["GHSA-g98v-hv3f-hcfr"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-ytmh-s7tl-a77y-t2fv"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-g98v-hv3f-hcfr"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0145.html"},{"type":"FIX","url":"https://github.com/softprops/atty/pull/51"},{"type":"WEB","url":"https://github.com/softprops/atty/issues/50"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0145"},{"type":"WEB","url":"https://github.com/softprops/atty/issues/57"}],"affected":[{"package":{"name":"kapacitor-1-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kapacitor-1-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.9-0"}]}],"versions":["1.8.9-0","1.8.9-1","1.8.9-2","1.8.9-3","1.8.9-4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ytmh-s7tl-a77y-t2fv.json"}},{"package":{"name":"kapacitor-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kapacitor-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.9-0"}]}],"versions":["1.8.9-0","1.8.9-1","1.8.9-2","1.8.9-3","1.8.9-4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ytmh-s7tl-a77y-t2fv.json","owner_kind":"HSP"}},{"package":{"name":"kapacitor-cli-1-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kapacitor-cli-1-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.9-0"}]}],"versions":["1.8.9-0","1.8.9-1","1.8.9-2","1.8.9-3","1.8.9-4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ytmh-s7tl-a77y-t2fv.json"}},{"package":{"name":"kapacitor-cli-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kapacitor-cli-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.9-0"}]}],"versions":["1.8.9-0","1.8.9-1","1.8.9-2","1.8.9-3","1.8.9-4"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ytmh-s7tl-a77y-t2fv.json"}},{"package":{"name":"kapacitor-tickfmt-1-fips","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kapacitor-tickfmt-1-fips"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.9-0"}]}],"versions":["1.8.9-0","1.8.9-1","1.8.9-2","1.8.9-3","1.8.9-4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ytmh-s7tl-a77y-t2fv.json","owner_kind":"HSP"}},{"package":{"name":"kapacitor-tickfmt-1","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/kapacitor-tickfmt-1"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.8.9-0"}]}],"versions":["1.8.9-0","1.8.9-1","1.8.9-2","1.8.9-3","1.8.9-4"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-ytmh-s7tl-a77y-t2fv.json","owner_kind":"HSP"}}],"schema_version":"1.9.2"}