Skip to content

GHSA-jcr6-4frq-9gjj Users vulnerable to unaligned read of `*const *const c_char` pointer

Unknown
Published
Updated
Exploit status
No public exploit known

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

Upgrade path

1 package: 0 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
crates.io users(crates.io) <= 0.11.0; >= 0.0.0-0 after 0.11.0 Partially fixed

Affected products

ProductAffected versionsFixed in
crates.io users(crates.io) <= 0.11.0 No fix listed
crates.io users(crates.io) >= 0.0.0-0 No fix listed

References