Skip to content

← Public intelligence

crates.io package

uu_chmod

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

2 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.5crates.ioPublished

    chmod: recursive mode returns exit code 0 even when some files fail (last-file-wins)

    CVE-2026-35339 · GHSA-4x34-chg5-mwjj

    Affected
    • crates.io uu_chmod < 0.6.0
    Fixed in
    0.6.0· Vendor fix available
    Issue
    In Chmoder::chmod() the recursive branch overwrites the running result instead of accumulating it, so the exit code reflects only the last file processed: PoC: GNU returns 1 when a file fails; uutils returns 0 if the last entry succeeds: Impact: scripts relying on the exit code get a false success signal while some files retained restrictive/unexpected permissions, leading to access-control misconfigurations. Recommendation: accumulate errors during traversal. Remediation: Acknowledged by Canonical; fixed in commit abd581f6. --- Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.2. Credit: Zellic.

    Recommended action: Upgrade to 0.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. High, CVSS 7.3crates.ioPublished

    chmod: --preserve-root bypassed by any path that resolves to root (e.g. /../)

    CVE-2026-35338 · GHSA-4c7q-4928-8445

    Affected
    • crates.io uu_chmod < 0.6.0
    Fixed in
    0.6.0· Vendor fix available
    Issue
    Chmoder::chmod() only compares the literal argument against Path::new("/"), so the --preserve-root guard is bypassed by any path that resolves to root — a symlink to / or simply /../. PoC — recursively chmods the entire filesystem to 000 despite --preserve-root: Impact: --preserve-root is the documented safeguard against destructive recursive operations on /. Bypassing it allows chmod -R to alter permissions across the whole filesystem, causing a complete system breakdown. Recommendation: canonicalize the target path before comparing against root. Remediation: Acknowledged by Canonical; fixed in commit 413055b3. --- Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.1. Credit: Zellic.

    Recommended action: Upgrade to 0.6.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →