Skip to content
OpenAdvisories
Medium GHSA-jcr6-4frq-9gjj RUSTSEC-2023-0059

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

Published Sep 11, 2023 · Updated Sep 10, 2026 · Assigned by GHSA

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`](https://crates.io/crates/uzers) (an actively maintained fork of the `users` crate)
- [`sysinfo`](https://crates.io/crates/sysinfo)

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io users <= 0.11.0 — GHSA-jcr6-4frq-9gjj
crates.io users >= 0.0.0-0 — RUSTSEC-2023-0059

References