🔍 CVE-2026-35374

6.3
CVSS Score
MEDIUM
2026-04-22
2026-10-26 21:10
✅ 완료

🇰🇷 한글 설명

uutils coreutils의 split 유틸리티에서 TOCTOU(Time-of-Check to Time-of-Use) 취약점이 발견되었습니다. 파일 경로를 기반으로 입력과 출력 파일의 동일 여부를 확인한 후, 실제 작업 시에는 파일을 잘라내기(truncation) 모드로 열기 때문에 발생하는 문제입니다. 로컬 공격자가 경로 구성 요소를 심볼릭 링크로 교체하면 의도하지 않은 파일을 덮어써서 데이터를 영구적으로 손실시킬 수 있습니다.

💡 쉬운 설명

파일을 나누는 프로그램이 '이 파일은 안전하다'고 확인한 직후, 공격자가 파일을 몰래 바꿔치기할 수 있는 틈이 있습니다. 이 틈을 이용하면 중요한 파일이 갑자기 삭제되거나 내용이 망가질 수 있습니다.

🇺🇸 원문 (English)

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.

📍 영향받는 시스템

uutils coreutils (split 유틸리티 포함 버전)

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 파일 경로 중간에 심볼릭 링크를 삽입하여 검사 시점과 사용 시점 사이의 레이스 컨디션을 유도함

🛡️ 대응 방법

uutils coreutils를 최신 보안 패치가 적용된 버전으로 업데이트하거나, 신뢰할 수 없는 디렉토리에서의 실행을 제한함

🔧 검증 코드

설치된 uutils 패키지의 버전을 확인하여 해당 취약점이 해결된 최신 버전인지 대조함

Shell / Script
cargo --version && cargo install --list | grep uutils

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Verify Identity Access