🔍 CVE-2025-52881

7.5
CVSS Score
HIGH
2025-11-06
2026-10-07 21:10
✅ 완료

🇰🇷 한글 설명

runc의 특정 버전에서 공유 마운트를 사용하는 레이싱 컨테이너를 통해 /proc에 대한 쓰기 작업을 다른 procfs 파일로 유도할 수 있는 취약점이 발견되었습니다. 이 취약점은 심볼릭 링크 등을 이용해 파일 경로를 조작함으로써 발생하며, 공격자가 시스템 파일에 의도치 않은 쓰기를 수행할 수 있게 합니다.

💡 쉬운 설명

컨테이너를 실행할 때 파일 경로를 속여서 시스템의 중요한 설정 파일을 마음대로 수정할 수 있는 보안 약점입니다. 공격자가 컨테이너를 이용해 컴퓨터의 핵심 부분을 건드릴 수 있는 위험이 있습니다.

🇺🇸 원문 (English)

runc is a CLI tool for spawning and running containers according to the OCI specification. In versions 1.2.7, 1.3.2 and 1.4.0-rc.2, an attacker can trick runc into misdirecting writes to /proc to other procfs files through the use of a racing container with shared mounts (we have also verified this attack is possible to exploit using a standard Dockerfile with docker buildx build as that also permits triggering parallel execution of containers with custom shared mounts configured). This redirect could be through symbolic links in a tmpfs or theoretically other methods such as regular bind-mounts. While similar, the mitigation applied for the related CVE, CVE-2019-19921, was fairly limited and effectively only caused runc to verify that when LSM labels are written they are actually procfs files. This issue is fixed in versions 1.2.8, 1.3.3, and 1.4.0-rc.3.

📍 영향받는 시스템

runc versions 1.2.7, 1.3.2, 1.4.0-rc.2

⚔️ 공격 벡터

공유 마운트와 심볼릭 링크를 이용한 레이싱 컨테이너를 통한 /proc 파일 시스템 쓰기 경로 조작

🛡️ 대응 방법

runc를 버전 1.2.8, 1.3.3 또는 1.4.0-rc.3 이상으로 업데이트하십시오.

🔧 검증 코드

명령어 실행 결과에 취약한 버전 번호가 출력되면 해당 시스템은 보안 업데이트가 필요한 상태입니다.

Shell / Script
runc --version 2>/dev/null | grep -E '1.2.7|1.3.2|1.4.0-rc.2'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker