🔍 CVE-2024-21626

8.6
CVSS Score
HIGH
2024-01-31
2026-09-17 12:17
✅ 완료

🇰🇷 한글 설명

runc 1.1.11 및 이전 버전에서 내부 파일 디스크립터 누수로 인해 발생하는 취약점입니다. 공격자가 컨테이너 프로세스의 작업 디렉토리를 호스트 파일시스템 네임스페이스로 설정하여 호스트 파일에 접근하거나 바이너리를 덮어쓰는 등 컨테이너 탈출을 수행할 수 있습니다.

💡 쉬운 설명

컨테이너라는 격리된 방 안에서 활동하던 프로그램이 실수로 방 밖(호스트 컴퓨터)의 문을 열어두는 버그입니다. 이를 통해 나쁜 프로그램이 방을 탈출하여 컴퓨터 전체를 조작할 수 있습니다.

🇺🇸 원문 (English)

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

📍 영향받는 시스템

runc 1.1.11 및 그 이전 모든 버전

⚔️ 공격 벡터

악성 이미지 실행(runc run) 또는 컨테이너 내 프로세스 실행(runc exec)을 통한 호스트 파일시스템 접근 및 탈출

🛡️ 대응 방법

runc 버전을 1.1.12 이상으로 업데이트

🔧 검증 코드

출력된 버전 번호가 1.1.12 미만(예: 1.1.11)이면 취약한 상태입니다.

Shell / Script
runc --version | grep -E 'runc version [0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

NVIDIA Cloud Gaming Guest Driver for Linux