Files
advisory-db/packages/users.json
T
2025-10-28 06:02:30 +00:00

189 lines
5.7 KiB
JSON

[
{
"id": "RUSTSEC-2025-0040",
"modified": "2025-10-28T06:02:18Z",
"published": "2025-01-15T12:00:00Z",
"aliases": [
"CVE-2025-5791",
"GHSA-m65q-v92h-cm7q"
],
"related": [],
"summary": "`root` appended to group listings",
"details": "Affected versions append `root` to group listings, unless the correct listing\nhas exactly 1024 groups.\n\nThis affects both:\n\n- The supplementary groups of a user\n- The group access list of the current process\n\nIf the caller uses this information for access control, this may lead to\nprivilege escalation.\n\nThis crate is not currently maintained, so a patched version is not available.\n\nVersions older than 0.8.0 do not contain the affected functions, so downgrading\nto them is a workaround.\n\n## Recommended alternatives\n- [`uzers`](https://crates.io/crates/uzers) (an actively maintained fork of the `users` crate)\n- [`sysinfo`](https://crates.io/crates/sysinfo)",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "users",
"purl": "pkg:cargo/users"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [
"privilege-escalation"
],
"cvss": null,
"informational": null
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.8.0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/users"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2025-0040.html"
},
{
"type": "REPORT",
"url": "https://github.com/ogham/rust-users/issues/44"
}
],
"database_specific": {
"license": "CC0-1.0"
}
},
{
"id": "RUSTSEC-2023-0059",
"modified": "2024-02-10T15:57:43Z",
"published": "2023-09-10T12:00:00Z",
"aliases": [
"GHSA-jcr6-4frq-9gjj"
],
"related": [],
"summary": "Unaligned read of `*const *const c_char` pointer",
"details": "Affected versions dereference a potentially unaligned pointer. The pointer is\ncommonly unaligned in practice, resulting in undefined behavior.\n\nIn some build modes, this is observable as a panic followed by abort. In other\nbuild modes the UB may manifest in some other way, including the possibility of\nworking correctly in some architectures.\n\nThe crate is not currently maintained, so a patched version is not available.\n\n## Recommended alternatives\n- [`uzers`](https://crates.io/crates/uzers) (an actively maintained fork of the `users` crate)\n- [`sysinfo`](https://crates.io/crates/sysinfo)",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "users",
"purl": "pkg:cargo/users"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [],
"cvss": null,
"informational": "unsound"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/users"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2023-0059.html"
},
{
"type": "REPORT",
"url": "https://github.com/ogham/rust-users/issues/55"
}
],
"database_specific": {
"license": "CC0-1.0"
}
},
{
"id": "RUSTSEC-2023-0040",
"modified": "2023-08-21T10:35:45Z",
"published": "2023-06-01T12:00:00Z",
"aliases": [],
"related": [],
"summary": "`users` crate is unmaintained",
"details": "The `users` crate hasn't seen any action since 2020-10-08. The developer seems [MIA] since.\n\n## Recommended alternatives\n- [`uzers`]\n- [`sysinfo`]\n\n[MIA]: https://github.com/ogham/rust-users/issues/54\n[`uzers`]: https://crates.io/crates/uzers\n[`sysinfo`]: https://crates.io/crates/sysinfo",
"severity": [],
"affected": [
{
"package": {
"ecosystem": "crates.io",
"name": "users",
"purl": "pkg:cargo/users"
},
"ecosystem_specific": {
"affects": {
"arch": [],
"os": [],
"functions": []
},
"affected_functions": null
},
"database_specific": {
"categories": [],
"cvss": null,
"informational": "unmaintained"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0.0.0-0"
}
]
}
],
"versions": []
}
],
"references": [
{
"type": "PACKAGE",
"url": "https://crates.io/crates/users"
},
{
"type": "ADVISORY",
"url": "https://rustsec.org/advisories/RUSTSEC-2023-0040.html"
},
{
"type": "REPORT",
"url": "https://github.com/ogham/rust-users/issues/54"
}
],
"database_specific": {
"license": "CC0-1.0"
}
}
]