Users vulnerable to unaligned read of `*const *const c_char` pointer
Moderate severity
GitHub Reviewed
Published
Sep 11, 2023
to the GitHub Advisory Database
•
Updated Sep 13, 2023
Description
Published to the GitHub Advisory Database
Sep 11, 2023
Reviewed
Sep 11, 2023
Last updated
Sep 13, 2023
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 theusers
crate)sysinfo
References