runk: Switch users crate

The users@0.11.0 has a high severity CVE-2025-5791
and doesn't seem to be maintained, so switch to
uzers which forked it.

Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
stevenhorsman 2025-06-11 12:03:00 +01:00
parent e99070afb4
commit 39f51b4c6d
2 changed files with 22 additions and 20 deletions

View File

@ -2423,7 +2423,7 @@ dependencies = [
"tabwriter", "tabwriter",
"tempfile", "tempfile",
"tokio", "tokio",
"users", "uzers",
] ]
[[package]] [[package]]
@ -3163,10 +3163,11 @@ dependencies = [
[[package]] [[package]]
name = "ttrpc-codegen" name = "ttrpc-codegen"
version = "0.4.2" version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94d7f7631d7a9ebed715a47cd4cb6072cbc7ae1d4ec01598971bbec0024340c2" checksum = "cdc0529f65223eca94fc5830e7d552d0d152ff42b74aff5c641edac39592f41f"
dependencies = [ dependencies = [
"home",
"protobuf 2.28.0", "protobuf 2.28.0",
"protobuf-codegen 3.7.1", "protobuf-codegen 3.7.1",
"protobuf-support", "protobuf-support",
@ -3175,11 +3176,12 @@ dependencies = [
[[package]] [[package]]
name = "ttrpc-compiler" name = "ttrpc-compiler"
version = "0.6.2" version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0672eb06e5663ad190c7b93b2973f5d730259859b62e4e3381301a12a7441107" checksum = "9be3fb2fe509cb9c0099b3b5551b759ae714f2dde56dfc713f2a5bda8c16064a"
dependencies = [ dependencies = [
"derive-new", "derive-new",
"home",
"prost", "prost",
"prost-build", "prost-build",
"prost-types", "prost-types",
@ -3223,16 +3225,6 @@ version = "0.1.13"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d" checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
[[package]]
name = "users"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24cc0f6d6f267b73e5a2cadf007ba8f9bc39c6a6f9666f8cf25ea809a153b032"
dependencies = [
"libc",
"log",
]
[[package]] [[package]]
name = "utf8-width" name = "utf8-width"
version = "0.1.7" version = "0.1.7"
@ -3245,6 +3237,16 @@ version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5de17fd2f7da591098415cff336e12965a28061ddace43b59cb3c430179c9439" checksum = "5de17fd2f7da591098415cff336e12965a28061ddace43b59cb3c430179c9439"
[[package]]
name = "uzers"
version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4df81ff504e7d82ad53e95ed1ad5b72103c11253f39238bcc0235b90768a97dd"
dependencies = [
"libc",
"log",
]
[[package]] [[package]]
name = "version_check" name = "version_check"
version = "0.9.4" version = "0.9.4"

View File

@ -8,7 +8,9 @@ edition = "2018"
[dependencies] [dependencies]
libcontainer = { path = "./libcontainer" } libcontainer = { path = "./libcontainer" }
rustjail = { path = "../../agent/rustjail", features = ["standard-oci-runtime"] } rustjail = { path = "../../agent/rustjail", features = [
"standard-oci-runtime",
] }
runtime-spec = { path = "../../libs/runtime-spec" } runtime-spec = { path = "../../libs/runtime-spec" }
oci-spec = { version = "0.6.8", features = ["runtime"] } oci-spec = { version = "0.6.8", features = ["runtime"] }
logging = { path = "../../libs/logging" } logging = { path = "../../libs/logging" }
@ -23,7 +25,7 @@ slog-async = "2.7.0"
tokio = { version = "1.44.2", features = ["full"] } tokio = { version = "1.44.2", features = ["full"] }
serde = { version = "1.0.133", features = ["derive"] } serde = { version = "1.0.133", features = ["derive"] }
serde_json = "1.0.74" serde_json = "1.0.74"
users = "0.11.0" uzers = "0.12.1"
tabwriter = "1.2.1" tabwriter = "1.2.1"
[features] [features]
@ -33,6 +35,4 @@ seccomp = ["rustjail/seccomp"]
tempfile = "3.19.1" tempfile = "3.19.1"
[workspace] [workspace]
members = [ members = ["libcontainer"]
"libcontainer"
]