🇰🇷 한글 설명
Data Science Pipelines의 setDefaultServiceAccount 함수에서 부적절한 권한 부여 취약점이 발견되었습니다. 제한된 권한을 가진 사용자가 CreateRun 요청 시 더 높은 권한을 가진 서비스 계정(SA)을 지정함으로써 권한 검사를 우회할 수 있습니다. 이를 통해 공격자는 컨테이너를 높은 권한으로 실행하여 민감한 정보를 탈취하거나 다른 사용자의 포드에서 명령을 실행할 수 있습니다.
💡 쉬운 설명
데이터 분석 도구의 권한 설정 오류로 인해, 일반 사용자가 마치 관리자처럼 높은 권한을 가진 계정을 빌려 쓸 수 있는 문제입니다. 이를 통해 다른 사람의 비밀 정보를 훔치거나 시스템을 마음대로 조작할 위험이 있습니다.
🇺🇸 원문 (English)
A flaw was found in Data Science Pipelines. A restricted user, or tenant, can exploit an improper authorization vulnerability in the setDefaultServiceAccount function. By specifying a more privileged ServiceAccount (SA) during a CreateRun request, an attacker can bypass authorization checks. This allows the tenant to run their containers with elevated privileges, potentially leading to the disclosure of sensitive information (secrets) and the ability to execute commands within other users' pods.
📍 영향받는 시스템
Data Science Pipelines (setDefaultServiceAccount 함수 사용 버전)
⚔️ 공격 벡터
CreateRun 요청 시 권한이 높은 ServiceAccount를 명시적으로 지정하여 권한 검사 우회
🛡️ 대응 방법
setDefaultServiceAccount 함수의 권한 검증 로직을 수정하고, 요청된 ServiceAccount가 해당 사용자의 권한 범위 내에 있는지 확인하도록 패치 적용
🔧 검증 코드
설치된 패키지 목록에서 해당 라이브러리의 버전이 취약점이 해결된 버전인지 확인합니다.
pip list | grep -i 'data-science-pipelines' 2>/dev/null