Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions crates/uucore/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "uucore"
date = "2026-04-22"
url = "https://github.com/uutils/coreutils/pull/10035"
cvss = "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
keywords = ["return-value"]
aliases = ["CVE-2026-35340"]

[affected]

[affected.functions]
"uucore::perms::ChownExecutor::exec" = ["< 0.6.0"]

[versions]
patched = [">= 0.6.0"]
```

# Incorrect exit code during recursive operations

A flaw in the ChownExecutor used by uutils coreutils chown and chgrp
causes the utilities to return an incorrect exit code during recursive
operations. The final exit code is determined only by the last file
processed. If the last operation succeeds, the command returns 0 even
if earlier ownership or group changes failed due to permission errors.

This can lead to security misconfigurations where administrative
scripts incorrectly assume that ownership has been successfully
transferred across a directory tree.