🇰🇷 한글 설명
Fission 1.23.0 이전 버전은 Environment CRD의 빌더 명령어를 검증 없이 실행하여 임의 코드 실행 취약점이 있습니다. 공격자는 빌더 컨텍스트에서 임의의 실행 파일을 호출할 수 있습니다.
💡 쉬운 설명
Fission의 빌더 기능이 사용자 입력을 제대로 확인하지 않아 해커가 서버를 장악할 수 있습니다. 이 문제는 최신 버전으로 업데이트하면 해결됩니다.
🇺🇸 원문 (English)
Fission is an open-source, Kubernetes-native serverless framework that simplifies the deployment of functions and applications on Kubernetes. Prior to version 1.23.0, before the round-1 security sweep, pkg/builder/builder.go passed Environment.spec.builder.command directly into exec.Command(...) after a strings.Fields split, with no validation of the executable path or its arguments. A user who could create or update Environment CRDs in a namespace observed by the buildermgr could thereby point the builder pod at any executable inside the builder image (e.g. /bin/sh -c '...') and execute arbitrary code in the builder pod context. This issue has been patched in version 1.23.0.
📍 영향받는 시스템
Fission < 1.23.0
⚔️ 공격 벡터
Environment CRD 조작을 통한 임의 명령어 실행
🛡️ 대응 방법
Fission을 버전 1.23.0 이상으로 업그레이드하십시오.
🔧 검증 코드
출력된 버전이 1.23.0보다 낮거나 버전 정보가 없으면 취약한 상태입니다.
fission version 2>/dev/null | grep -E 'Client|Server' | grep -v '1.23.0'
💻 영향받는 소프트웨어
IBM WebSphere Application Server