🇰🇷 한글 설명
CloudPirates Open Source Helm Charts의 pull_request_target 워크플로우에서 캐시 포이즈닝 및 OIDC 토큰 탈취 취약점이 발견되었습니다. 공격자가 제어하는 코드가 베이스 저장소의 비밀 값과 토큰에 접근할 수 있으며, 오염된 캐시를 통해 릴리스 과정에서 악성 코드가 실행될 수 있습니다. 이 문제는 커밋 271d415를 통해 패치되었습니다.
💡 쉬운 설명
해커가 만든 코드가 프로젝트의 중요한 비밀번호나 인증 키를 훔쳐갈 수 있는 보안 구멍이 발견되었습니다. 또한, 해커가 저장해둔 가짜 데이터를 이용해 정상적인 소프트웨어를 배포할 때 악성 코드가 몰래 섞여 들어갈 수 있습니다.
🇺🇸 원문 (English)
CloudPirates Open Source Helm Charts is a collection of Helm charts. Prior to commit 271d415, pull_request_target workflow is vulnerable to cache poisoning and OIDC token theft. A pull_request_target workflow checks out fork code using github.event.pull_request.head.sha or .head.ref. This gives attacker-controlled code access to base repository secrets and tokens. A pull_request_target workflow writes to a shared Actions cache. A subsequent release or publish workflow restores from the same cache scope, allowing a poisoned cache entry to execute during release. This issue has been patched via commit 271d415.
📍 영향받는 시스템
CloudPirates Open Source Helm Charts (commit 271d415 미만 버전)
⚔️ 공격 벡터
pull_request_target 워크플로우를 이용한 캐시 포이즈닝 및 OIDC 토큰 탈취
🛡️ 대응 방법
커밋 271d415를 포함하여 최신 버전으로 업데이트하거나 워크플로우 설정을 수정하십시오.
🔧 검증 코드
명령어 결과가 'Patched'이면 안전하며, 'Vulnerable'이면 취약한 버전입니다.
git rev-parse HEAD | grep -q 271d415 && echo 'Patched' || echo 'Vulnerable'