🇰🇷 한글 설명
Spinnaker의 GitHub 상태 업데이트 기능에서 로그 출력 설정이 항상 'FULL'로 되어 있어 GitHub 토큰이 로그 시스템에 노출될 수 있는 취약점입니다. 이로 인해 토큰이 노출될 경우 공격자가 저장소에 대한 권한을 획득할 위험이 있습니다. 해당 문제는 PR 1316을 통해 해결되었으므로 업데이트가 권장됩니다.
💡 쉬운 설명
Spinnaker라는 프로그램이 GitHub에 상태를 알릴 때, 비밀번호와 같은 중요한 토큰 정보를 로그 파일에 그대로 적어버리는 문제입니다. 이 로그를 볼 수 있는 사람이 있다면 GitHub 계정 권한을 훔칠 수 있습니다.
🇺🇸 원문 (English)
Spinnaker is an open source, multi-cloud continuous delivery platform. Log output when updating GitHub status is improperly set to FULL always. It's recommended to apply the patch and rotate the GitHub token used for github status notifications. Given that this would output github tokens to a log system, the risk is slightly higher than a "low" since token exposure could grant elevated access to repositories outside of control. If using READ restricted tokens, the exposure is such that the token itself could be used to access resources otherwise restricted from reads. This only affects users of GitHub Status Notifications. This issue has been addressed in pull request 1316. Users are advised to upgrade. Users unable to upgrade should disable GH Status Notifications, Filter their logs for Echo log data and use read-only tokens that are limited in scope.
📍 영향받는 시스템
Spinnaker (GitHub Status Notifications 기능을 사용하는 버전)
⚔️ 공격 벡터
로그 시스템에 접근 가능한 공격자가 노출된 GitHub 토큰을 탈취하여 권한 오용
🛡️ 대응 방법
Spinnaker를 최신 버전으로 업그레이드하거나, 업그레이드가 불가능할 경우 GitHub 상태 알림 기능을 비활성화하고 읽기 전용 토큰을 사용하십시오.
🔧 검증 코드
명령어 결과가 'Patched'이면 수정된 코드가 포함된 상태이며, 'Vulnerable'이면 취약한 상태입니다.
git log --grep='1316' | grep -q 'fix' && echo 'Patched' || echo 'Vulnerable'