logo

GHSA-jcr6-4frq-9gjj users

Package

Manager: cargo
Name: users
Vulnerable Version: >=0 <=0.11.0

Severity

Level: Medium

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P/RL:U/RC:R

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

EPSS: N/A pctlN/A

Details

Users vulnerable to unaligned read of `*const *const c_char` pointer 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)

Metadata

Created: 2023-09-11T20:43:31Z
Modified: 2023-09-13T14:04:07Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/09/GHSA-jcr6-4frq-9gjj/GHSA-jcr6-4frq-9gjj.json
CWE IDs: []
Alternative ID: N/A
Finding: F002
Auto approve: 1