RUSTSEC-2023-0059

See a problem?
Source
https://rustsec.org/advisories/RUSTSEC-2023-0059
Import Source
https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2023-0059.json
JSON Data
https://api.osv.dev/v1/vulns/RUSTSEC-2023-0059
Aliases
Published
2023-09-10T12:00:00Z
Modified
2024-02-10T16:26:48.693482Z
Summary
Unaligned read of `*const *const c_char` pointer
Details

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

Affected packages

crates.io / users

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0-0

Ecosystem specific

{
    "affected_functions": null,
    "affects": {
        "os": [],
        "functions": [],
        "arch": []
    }
}

Database specific

{
    "cvss": null,
    "informational": "unsound",
    "categories": []
}