🔍 CVE-2026-87720

0.0
CVSS Score
UNKNOWN
2026-09-24
2026-09-25 17:17
✅ 완료

🇰🇷 한글 설명

Gerrit Code Review의 프로젝트 이름 정규화 및 캐시 삭제 로직 결함으로 인해 권한이 없는 사용자가 비공개 저장소 콘텐츠를 노출하거나 취소된 관리자 권한을 복구할 수 있는 취약점입니다. 공격자가 .git 접미사를 반복적으로 사용하여 캐시를 조작함으로써, 권한이 박탈된 프로젝트에 대해 지속적으로 읽기 또는 쓰기 권한을 유지할 수 있습니다.

💡 쉬운 설명

프로젝트 이름 뒤에 '.git'을 여러 번 붙여서 시스템을 혼란스럽게 만드는 공격입니다. 이를 통해 원래는 볼 수 없어야 할 비밀 코드나 관리자 권한을 계속해서 사용할 수 있게 됩니다.

🇺🇸 원문 (English)

Incorrect Authorization (CWE-863) in project name normalization (ProjectUtil.stripGitSuffix) and ProjectCache eviction logic (ProjectCacheImpl) in Gerrit Code Review versions 2.16.0 through 3.12.9, 3.13.0 through 3.13.8, and 3.14.0 through 3.14.2 allows an authenticated user (or an unauthenticated user if the repository was previously public) to cause unauthorized disclosure of private repository content and durable restoration of revoked project-owner administrative privileges via crafted requests using repeated .git suffixes (such as project.git.git) across REST APIs, Gitiles, or SSH Git commands. Because Gerrit strips only a single terminal .git suffix when constructing the logical ProjectCache key while JGit (FileKey.lenient) resolves the suffixed alias to the same canonical bare repository on disk, revoking read access or removing owner rules on the canonical project name fails to evict the cached alias ProjectState during the cache validity window, enabling reads of newly created private commits or writes to refs/meta/config. This issue is fixed in Gerrit Code Review versions 3.12.10, 3.13.9, and 3.14.3.

📍 영향받는 시스템

Gerrit Code Review 2.16.0 ~ 3.12.9, 3.13.0 ~ 3.13.8, 3.14.0 ~ 3.14.2

⚔️ 공격 벡터

REST API, Gitiles 또는 SSH Git 명령을 통해 '.git.git'과 같이 조작된 프로젝트 이름을 전송

🛡️ 대응 방법

Gerrit Code Review를 버전 3.12.10, 3.13.9 또는 3.14.3 이상으로 업데이트

🔧 검증 코드

현재 설치된 Gerrit의 버전을 확인하여 취약한 버전 범위에 해당하는지 대조합니다.

Shell / Script
git --version 2>/dev/null || echo 'Gerrit version check required via management API or package manager'

💻 영향받는 소프트웨어

Git