🔍 CVE-2026-64846

2.8
CVSS Score
LOW
2026-08-20
2026-10-18 20:10
✅ 완료

🇰🇷 한글 설명

Nix 패키지 관리자의 recursive-nix 실험적 기능 사용 시, LocalStore 복구 경로의 심볼릭 링크 처리 과정에서 TOCTOU(Time-of-Check/Time-of-Use) 레이스 컨디션 취약점이 존재합니다. 공격자는 이를 악용하여 빌드 샌드박스 외부의 파일을 생성하거나 내용을 비울 수 있으며, 이는 nix-daemon 권한으로 실행됩니다.

💡 쉬운 설명

Nix라는 프로그램의 특정 기능을 사용할 때, 파일이 생성되는 찰나의 순간을 이용해 원래 의도하지 않은 위치에 빈 파일을 만들거나 기존 파일을 지울 수 있는 문제입니다. 해커가 시스템의 중요한 파일을 건드려 시스템을 불안정하게 만들 수 있습니다.

🇺🇸 원문 (English)

Nix is a package manager for Linux and other Unix systems. Prior to 2.35.0, a malicious derivation executed with the recursive-nix experimental feature can exploit a time-of-check/time-of-use race involving final symlink handling in the LocalStore restore path. The race can cause writeFile to follow a substituted final symlink when opening a path with O_TRUNC instead of enforcing FinalSymlink::DontFollow, allowing the Nix process or nix-daemon to create or truncate an empty file outside the build sandbox with the daemon user's permissions. The primitive does not provide arbitrary-content writes and requires winning the race. This issue is fixed in version 2.35.0.

📍 영향받는 시스템

Nix 패키지 관리자 2.35.0 미만 버전

⚔️ 공격 벡터

recursive-nix 실험적 기능 사용 중 심볼릭 링크 교체 레이스 컨디션 공격

🛡️ 대응 방법

Nix 패키지 관리자를 2.35.0 이상의 최신 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 버전 번호가 2.35.0 미만이면 취약한 상태이며, 2.35.0 이상이면 안전합니다.

Shell / Script
nix --version | grep -E 'Nix (.*)'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux