nday
CVE-2026-35374 GHSA-fjjq-8hw5-cf9f

uutils coreutils split Arbitrary File Truncation via Time-of-Check to Time-of-Use (TOCTOU) Race Condition

Uutils / coreutils

揭露 213 天後出現公開 PoC。已於 uu_split 0.10.0 修補。4 個 PoC 來源中有 1 個收錄:github。目前未列入 CISA KEV。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

race condition
CWE-367, stated by the CNA canonical、NVD, republishing [email protected] 與 GitHub advisory GHSA-fjjq-8hw5-cf9f
link following
CWE-59, stated by GitHub advisory GHSA-fjjq-8hw5-cf9f
local
AV:L in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H (CVSS 3.1) from the CNA canonical
no user interaction
UI:N in CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H (CVSS 3.1) from the CNA canonical
crates.io
GHSA-fjjq-8hw5-cf9f: rust packages uu_split
目前階段
POC
揭露時間
揭露 → 公開 PoC
T+213d POC 僅有日期
CVSS
6.3 MEDIUM v3.1

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
04-22T16:09Z
PAT修補
11-20T17:02Z
ANA分析
尚無紀錄
POCPoC
11-21 僅日期
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the split utility of uutils coreutils. The program attempts to prevent data loss by checking for identity between input and output files using their file paths before initiating the split operation. However, the utility subsequently opens the output file with truncation after this path-based validation is complete. A local attacker with write access to the directory can exploit this race window by manipulating mutable path components (e.g., swapping a path with a symbolic link). This can cause split to truncate and write to an unintended target file, potentially including the input file itself or other sensitive files accessible to the process, leading to permanent data loss.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:H
High: success depends on conditions outside the attacker's control, such as gathering details of the target or winning a race
Privileges required PR:L
Low: ordinary user privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

CVSS 3.1 vector from the CVE record, scored by the CNA canonical.

事件紀錄

+DIS揭露

CVE 紀錄由 canonical 發布。CVSS 6.3,屬中風險等級。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 420219,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-35374",
  "occurred_at": "2026-04-22T16:09:04.206Z",
  "observed_at": "2026-11-13T05:39:44.380581Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H",
      "version": "3.1",
      "base_score": 6.3,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2026-04-22T17:18:10.132115Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2026-04-22T16:09:04.206Z",
    "assigner_short_name": "canonical"
  }
}
來源無時間;nday 即時觀測
+PAT已有修補

公告列出的修補版本:uu_split 0.10.0。公告附有修補 commit。公告發布於 ;修補本身的釋出時間沒有紀錄。

來源 ghsa GHSA-fjjq-8hw5-cf9f · nday 於 即時觀測 · 原始
{
  "id": 497574,
  "type": "patch_released",
  "source": "ghsa",
  "url": "https://github.com/advisories/GHSA-fjjq-8hw5-cf9f",
  "occurred_at": null,
  "observed_at": "2026-11-20T17:02:24.02739Z",
  "is_backfill": false,
  "dedupe_key": "GHSA-fjjq-8hw5-cf9f",
  "detail": {
    "cvss": {
      "cvss_v3": {
        "score": 6.3,
        "vector_string": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"
      },
      "cvss_v4": {
        "score": 0.0,
        "vector_string": null
      }
    },
    "cwes": [
      {
        "name": "Improper Link Resolution Before File Access",
        "cwe_id": "CWE-59"
      },
      {
        "name": "Time-of-check Time-of-use (TOCTOU) Race Condition",
        "cwe_id": "CWE-367"
      }
    ],
    "ghsa_id": "GHSA-fjjq-8hw5-cf9f",
    "packages": [
      {
        "name": "uu_split",
        "ecosystem": "rust",
        "first_patched_version": "0.10.0",
        "vulnerable_version_range": "<= 0.9.0"
      }
    ],
    "severity": "medium",
    "references": [
      "https://github.com/uutils/coreutils/security/advisories/GHSA-fjjq-8hw5-cf9f",
      "https://github.com/uutils/coreutils/pull/11401",
      "https://github.com/uutils/coreutils/pull/12565",
      "https://github.com/uutils/coreutils/commit/58040feb5c66fce588a7ffac299b3a23bd55cd81",
      "https://github.com/advisories/GHSA-fjjq-8hw5-cf9f"
    ],
    "fix_commit_urls": [
      "https://github.com/uutils/coreutils/pull/11401",
      "https://github.com/uutils/coreutils/pull/12565",
      "https://github.com/uutils/coreutils/commit/58040feb5c66fce588a7ffac299b3a23bd55cd81"
    ],
    "github_reviewed_at": "2026-11-20T16:33:27Z",
    "advisory_updated_at": "2026-11-20T16:33:27Z",
    "source_code_location": "https://github.com/uutils/coreutils",
    "advisory_published_at": "2026-11-20T16:33:27Z"
  }
}
2026-11-21僅日期,由來源提供
+POC公開 PoC

GitHub 上的 PoC 儲存庫:googlesky/CVE-2026-35374。日期為儲存庫的建立日。

來源 github 1466177119 · nday 於 即時觀測 · 原始
{
  "id": 498570,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/googlesky/CVE-2026-35374",
  "occurred_at": "2026-11-21T04:31:10Z",
  "observed_at": "2026-11-21T00:00:00Z",
  "is_backfill": false,
  "dedupe_key": "1466177119",
  "detail": {
    "url": "https://github.com/googlesky/CVE-2026-35374",
    "title": "googlesky/CVE-2026-35374",
    "precision": "day"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.