GHSA-6g8r-74qp-6859

Suggest an improvement
Source
https://github.com/advisories/GHSA-6g8r-74qp-6859
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-6g8r-74qp-6859/GHSA-6g8r-74qp-6859.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6g8r-74qp-6859
Downstream
CGA (212)
Withdrawn
2026-11-20T16:38:58Z
Published
2026-04-22T18:31:46Z
Modified
2026-11-20T16:56:07Z
Severity
  • 4.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
Summary
Duplicate Advisory: chcon: recursive relabel not anchored to traversal dirfd (TOCTOU)
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-367"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-04-30T17:59:49Z",
    "nvd_published_at": "2026-04-22T17:16:42Z",
    "severity": "MODERATE"
}
References

Affected packages

crates.io / coreutils

Package

Name
coreutils
View open source insights on deps.dev
Purl
pkg:cargo/coreutils

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.10.0

Database specific

last_known_affected_version_range
"<= 0.9.0"
source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-6g8r-74qp-6859/GHSA-6g8r-74qp-6859.json"