🔍 CVE-2024-45496

9.9
CVSS Score
CRITICAL
2024-09-17
2026-08-11 16:17
✅ 완료

🇰🇷 한글 설명

OpenShift 컨테이너 플랫폼의 빌드 초기화 단계에서 git-clone 컨테이너가 권한있는 보안 컨텍스트로 실행되는 취약점입니다. 개발자가 악의적인 .gitconfig 파일을 제공하여 Git 클론 과정에서 임의의 명령을 실행하고, 워커 노드에서 권한 상승을 통해 완전한 노드 제어가 가능합니다.

💡 쉬운 설명

OpenShift에서 코드를 받을 때 안전하지 않은 방식으로 처리되어, 악의적인 파일을 통해 컴퓨터를 제어할 수 있는 취약점입니다. 개발자 권한을 가진 사람이 이를 악용하면 서버 전체를 장악할 수 있습니다.

🇺🇸 원문 (English)

A flaw was found in OpenShift. This issue occurs due to the misuse of elevated privileges in the OpenShift Container Platform's build process. During the build initialization step, the git-clone container is run with a privileged security context, allowing unrestricted access to the node. An attacker with developer-level access can provide a crafted .gitconfig file containing commands executed during the cloning process, leading to arbitrary command execution on the worker node. An attacker running code in a privileged container could escalate their permissions on the node running the container.

📍 영향받는 시스템

Red Hat OpenShift Container Platform (4.x 버전, 정확한 패치 버전은 Red Hat 보안 업데이트 확인 필요)

⚔️ 공격 벡터

개발자가 git 리포지토리에 악의적인 .gitconfig 파일을 커밋하고 빌드 트리거 시 파일 내 명령 자동 실행

🛡️ 대응 방법

Red Hat의 보안 업데이트 적용, 빌드 프로세스의 권한 분리 강화, .gitconfig 검증 정책 구현

🔧 검증 코드

OpenShift 클러스터의 OS 정보를 확인하여 취약한 버전 여부 판단, Red Hat 보안 공지와 대비하여 패치 여부 확인

Shell / Script
oc get nodes -o jsonpath='{.items[*].status.nodeInfo.osImage}' 2>/dev/null | grep -i openshift

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Git