시스템 로봇의 Project 권한 범위를 프로젝트 자체로 제한
high이전에는 이 권한으로 프로젝트 자체뿐 아니라 모든 프로젝트 안의 모든 리소스에 대한 작업까지 승인할 수 있었습니다. 로봇 토큰을 완전히 신뢰할 수 없는 주체가 보유하면 해당 리소스가 노출될 수 있었습니다. 업그레이드 후에는 리포지토리, 아티팩트, 멤버, 로봇 계정 및 기타 프로젝트 리소스에 접근하려면 각 리소스에 대한 구체적인 권한이 필요합니다.
원문 보기
- src/common/security/robot/context.go (+9 -0) - src/common/security/robot/context_test.go (+56 -0) - src/core/middlewares/middlewares.go (+2 -0) * (high): Robot "cover all projects" scope collapses into a global wildcard, conferring the deliberately-ungrantable robot:update — enabling cross-project robot takeover with owner lockout [GHSA-xq2m-cj8w-56v5](https://github.com/goharbor/harbor/security/advisories/GHSA-xq2m-cj8w-56v5) in [`7331b58d5`](https://github.com/goharbor/harbor/commit/7331b58d594f245aaf7f70515473aedffff85499) - ce7a28738b69 [cherry-pick] fix(rbac): stop cover-all robot scope from reaching sub-resources (GHSA-xq2m-cj8w-56v5) (Vadim Bauer)github.com/goharbor/harbor/compare/v2.14.4...v2.14.5