Email me

Rust advisories / users

Unsound MediumRUSTSEC-2023-0059 · users

RUSTSEC-2023-0059: Unaligned read of `*const *const c_char` pointer

Short answerusers has an API that can cause undefined behaviour from safe code: Unaligned read of `*const *const c_char` pointer. No fixed version yet.

Crateusers
TypeUnsound
Affected versionsEvery version.
Fixed innone
SeverityMedium (GitHub rating)
Published2023-09-10
Last changed2024-02-10
Also known asGHSA-jcr6-4frq-9gjj

What to do

  1. Find who pulls it in: cargo tree -i users.
  2. Avoid the affected API, or replace the crate.

Details from the advisory

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

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for users

Full security history of users

Up next

Same crateusers: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ