GHSA-vf87-345h-9qhx

Suggest an improvement
Source
https://github.com/advisories/GHSA-vf87-345h-9qhx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-vf87-345h-9qhx/GHSA-vf87-345h-9qhx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-vf87-345h-9qhx
Withdrawn
2026-07-06T20:16:07Z
Published
2026-04-22T18:31:45Z
Modified
2026-09-10T03:51:03Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Duplicate Advisory: uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-mj6p-44ch-cq69. This link is maintained to preserve external references.

Original Description

The mkdir utility in uutils coreutils incorrectly applies permissions when using the -m flag by creating a directory with umask-derived permissions (typically 0755) before subsequently changing them to the requested mode via a separate chmod system call. In multi-user environments, this introduces a brief window where a directory intended to be private is accessible to other users, potentially leading to unauthorized data access.

Database specific
{
    "cwe_ids":  [
        "CWE-367"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-29T23:22:16Z",
    "nvd_published_at":  "2026-04-22T17:16:37Z",
    "severity":  "LOW"
}
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.6.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-vf87-345h-9qhx/GHSA-vf87-345h-9qhx.json"