GHSA-jcr6-4frq-9gjj
JSON

medium

Users vulnerable to unaligned read of `*const *const c_char` pointer

Severity
medium rating by GitHub
Published
Last changed
Also known as
RUSTSEC-2023-0059

Description

Affected versions dereference a potentially unaligned pointer. The pointer is commonly unaligned in practice, resulting in undefined behavior.

In some build modes, this is observable as a panic followed by abort. In other build modes the UB may manifest in some other way, including the possibility of working correctly in some architectures.

The crate is not currently maintained, so a patched version is not available.

Recommended alternatives

  • uzers (an actively maintained fork of the users crate)
  • sysinfo

Affected

Product or packageVersionsReported by
users (crates.io)up to 0.11.0, from 0.0.0-0GitHub Advisory Database, RustSec Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-jcr6-4frq-9gjj changed 2026-09-10CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2023-0059 changed 2024-02-10CC0-1.0