Security mailing lists by PureSourceCode

GHSA-6g8r-74qp-6859

MEDIUM 4.5CVSS 3.1withdrawn / rejected

Duplicate Advisory: chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-9rv8-9hvg-92mq. This link is maintained to preserve external references.

Original Description

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the chcon utility of uutils coreutils during recursive operations. The implementation resolves recursive targets using a fresh path lookup (via fts_accpath) rather than binding the traversal and label application to the specific directory state encountered during traversal. Because these operations are not anchored to file descriptors, a local attacker with write access to a directory tree can exploit timing-sensitive rename or symbolic link races to redirect a privileged recursive relabeling operation to unintended files or directories. This vulnerability breaks the hardening expectations for SELinux administration workflows and can lead to the unauthorized modification of security labels on sensitive system objects.

Published
22 Apr 2026
Last modified
20 Nov 2026
Weakness
CWE-367
Sources
OSVJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV crates.io coreutils < 0.10.0 0.10.0

References

History

  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.