
Cloud Vulnerability DB
A community-led vulnerabilities database
The vulnerability (GHSA-jcr6-4frq-9gjj) affects the Rust 'users' crate versions 0.11.0 and earlier, involving an unaligned read of *const *const c_char pointer. The issue was discovered and disclosed in September 2023, affecting the core functionality of the crate that handles user and group information in Rust applications (GitHub Advisory).
The vulnerability stems from dereferencing a potentially unaligned pointer in the crate's implementation. This pointer is commonly unaligned in practice, resulting in undefined behavior (UB). In certain build modes, this manifests as a panic followed by an abort, while in others, the undefined behavior may present differently or even appear to work correctly on some architectures (RustSec Advisory).
When exploited, the vulnerability causes program crashes through panics and aborts in certain build modes. The impact is particularly noticeable when attempting to access group information, as demonstrated by attempts to retrieve group details resulting in 'misaligned pointer dereference' errors (GitHub Issue).
No official patch is available as the crate is no longer maintained. Users are recommended to switch to alternative solutions such as 'uzers' (an actively maintained fork of the users crate) or 'sysinfo' (GitHub Advisory, RustSec Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."