🔍 CVE-2024-22036

9.1
CVSS Score
CRITICAL
2025-04-16
2026-04-15 00:35
✅ 완료

🇰🇷 한글 설명

Rancher의 클러스터/노드 드라이버 취약점으로 chroot 감옥을 탈출하여 Rancher 컨테이너의 root 권한을 획득할 수 있습니다. 프로덕션 환경에서는 추가 권한 상승이 가능하며, --privileged 모드의 개발 환경에서는 호스트 시스템 접근까지 가능합니다.

💡 쉬운 설명

Rancher 관리 도구의 드라이버 기능에 결함이 있어 공격자가 컨테이너 내부의 최고 권한을 얻을 수 있습니다. 이를 통해 전체 Rancher 시스템이 장악될 수 있으며, 경우에 따라 호스트 서버까지 침해될 수 있습니다.

🇺🇸 원문 (English)

A vulnerability has been identified within Rancher where a cluster or node driver can be used to escape the chroot jail and gain root access to the Rancher container itself. In production environments, further privilege escalation is possible based on living off the land within the Rancher container itself. For the test and development environments, based on a –privileged Docker container, it is possible to escape the Docker container and gain execution access on the host system. This issue affects rancher: from 2.7.0 before 2.7.16, from 2.8.0 before 2.8.9, from 2.9.0 before 2.9.3.

📍 영향받는 시스템

Rancher 2.7.0~2.7.15, 2.8.0~2.8.8, 2.9.0~2.9.2

⚔️ 공격 벡터

클러스터/노드 드라이버 기능을 악용하여 chroot 감옥 탈출

🛡️ 대응 방법

영향받는 버전을 2.7.16, 2.8.9, 2.9.3 이상으로 업그레이드

🔧 검증 코드

명령어 결과로 현재 Rancher 버전이 표시되면 해당 버전이 2.7.16, 2.8.9, 2.9.3 이상인지 확인하여 패치 필요 여부 판단

Shell / Script
curl -s http://localhost:80/api/v1/settings/server-version 2>/dev/null | grep -oP '"value"\s*:\s*"\K[^"]+' || echo 'Rancher 접근 불가'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Docker