Security mailing lists by PureSourceCode

RUSTSEC-2021-0145

LOW

atty potential unaligned read

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;

Published
4 Jul 2021
Last modified
10 Sep 2026
Also known as
GHSA-g98v-hv3f-hcfr
Sources
OSV GHSA-g98v-hv3f-hcfrJSONOSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io atty <= 0.2.14
OSV crates.io atty >= 0.0.0-0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jul 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Jun 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.