🇰🇷 한글 설명
ciguard 0.1.0~0.8.1 버전의 ghcr.io/jo-jo98/ciguard 컨테이너 이미지가 Dockerfile에 USER 디렉티브 부재로 기본 root 사용자 권한으로 실행됩니다. 0.8.2 버전에서 수정되었습니다.
💡 쉬운 설명
Docker 컨테이너가 최고 권한의 root로 실행되므로, 컨테이너 내 취약점이 악용되면 전체 시스템이 장악될 수 있습니다. 0.8.2로 업그레이드하여 일반 사용자 권한으로 제한하면 됩니다.
🇺🇸 원문 (English)
ciguard is a static security auditor for CI/CD pipelines. From 0.1.0 to 0.8.1, the published ghcr.io/jo-jo98/ciguard container image inherits the default root user because the Dockerfile lacks a USER directive. This vulnerability is fixed in 0.8.2.
📍 영향받는 시스템
ciguard 컨테이너 이미지 버전 0.1.0 ~ 0.8.1
⚔️ 공격 벡터
컨테이너 내부 취약점 → root 권한 확보 → 호스트 시스템 제어
🛡️ 대응 방법
ciguard을 버전 0.8.2 이상으로 업그레이드
🔧 검증 코드
출력이 'root'이면 취약, 다른 사용자명이면 안전
docker run --rm ghcr.io/jo-jo98/ciguard:latest whoami