🇰🇷 한글 설명
proot-distro 5.1.5 미만 버전에서 발생하는 취약점으로, 압축 파일 내의 심볼릭 링크 대상 경로를 검증하지 않아 발생합니다. 공격자가 조작된 tarball이나 Docker 레이어를 통해 호스트 파일 시스템에 임의의 파일을 작성할 수 있습니다.
💡 쉬운 설명
압축 파일을 풀 때 파일이 가리키는 경로를 제대로 확인하지 않아 발생하는 문제입니다. 나쁜 의도로 만들어진 압축 파일을 풀면 컴퓨터의 중요한 파일을 마음대로 바꿀 수 있습니다.
🇺🇸 원문 (English)
proot-distro is a utility for managing proot containers. Prior to version 5.1.5, proot-distro install extracted plain tarball root filesystems through _extract_plain_tar() in proot_distro/commands/install.py and Docker layers through _apply_layer() in proot_distro/helpers/docker.py without validating archive-controlled symlink targets in member.linkname, allowing a malicious archive to plant an absolute host-path symlink and write files through it onto the host filesystem. This issue is fixed in version 5.1.5.
📍 영향받는 시스템
proot-distro version < 5.1.5
⚔️ 공격 벡터
조작된 tarball 또는 Docker 레이어를 통한 심볼릭 링크 공격
🛡️ 대응 방법
proot-distro를 5.1.5 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 5.1.5 미만이면 취약한 상태입니다.
pip show proot-distro 2>/dev/null | grep Version