🇰🇷 한글 설명
Gitea Actions에서 첫 기여자의 포크된 PR에 대한 승인 절차를 우회할 수 있는 취약점입니다. 승인 대기 중인 작업을 취소하고 재실행할 경우, 승인 없이도 포크된 저장소의 워크플로우 코드가 리포지토리 러너에서 실행될 수 있습니다.
💡 쉬운 설명
외부인이 보낸 코드를 검토 없이 실행할 수 있는 보안 구멍이 발견되었습니다. 공격자가 승인 절차를 건너뛰고 악성 코드를 서버에서 직접 실행할 위험이 있습니다.
🇺🇸 원문 (English)
Gitea Actions blocks the jobs of workflow runs from first-time fork pull request contributors until a maintainer approves the run. The rerun path only required a run to be finished and built the new attempt's jobs without considering the pending approval, so when a user with Actions write access cancelled a run that was awaiting approval and then re-ran it, the new jobs were created as waiting rather than blocked while the run still recorded that approval was required. Cancelling and re-running stale fork checks is a routine action that does not involve the approval control, so where Actions is enabled and a matching runner is registered, workflow code taken from the fork pull request head could run on the repository's runners without an explicit approval.
📍 영향받는 시스템
Gitea (Actions 기능이 활성화된 버전)
⚔️ 공격 벡터
승인 대기 중인 포크된 PR의 작업을 취소한 후 재실행하여 승인 로직을 우회하고 악성 워크플로우 실행
🛡️ 대응 방법
Gitea를 최신 보안 패치가 적용된 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 해당 취약점이 해결된 최신 패치 버전인지 확인하십시오.