Gogsで読み取り専用の権限を越えてプッシュされる脆弱性
概要
Gogs 0.14.3では、Git Smart HTTPの認可処理で、読み取りのみ許可されたユーザーがプッシュできてしまう脆弱性が見つかりました。HTTPメソッドの大文字と小文字を区別する判定に不整合があることが原因です。CVSS v4.0のスコアは7.1で、深刻度は高とされています。公表時点で修正版の情報は確認できていないため、最新の情報を確認してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Gogs 0.14.3では、Git Smart HTTPの認可処理で、読み取りのみ許可されたユーザーがプッシュできてしまう脆弱性が見つかりました。HTTPメソッドの大文字と小文字を区別する判定に不整合があることが原因です。CVSS v4.0のスコアは7.1で、深刻度は高とされています。公表時点で修正版の情報は確認できていないため、最新の情報を確認してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| GogsGogs | — | 記載なし |
| Gogogs.io/gogs |
すべての版→ 記載なし |
記載なし |
この記録には修正版の版が載っていません。修正版の有無と版は、本文か参照URLのベンダーの勧告で確かめてください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
In Gogs 0.14.3, the Git Smart HTTP authorization layer in internal/route/repo/http.go allows a push when only read access was intended, a different vulnerability than CVE-2026-52810. This occurs because of a case-sensitivity desync between the authorization classifier and the request dispatcher: the gitHTTPIsPull function compares the Git action verb case-sensitively and defaults to pull (read access) for any unrecognized string, whereas the request dispatcher lowercases the same verb before routing it to the receive-pack handler. Capitalizing a single letter in the URL (e.g. info/Refs instead of info/refs, or git-receive-Pack instead of git-receive-pack) causes the classifier to misidentify a push as a pull, granting only read-level authorization, whereas the dispatcher routes it to the write handler. An authenticated read-only collaborator can exploit this to push to a private repository, creating, updating, or deleting refs.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory nvd.nist.gov
- advisory nvd.nist.gov
- advisory github.com
- advisory humanoid.sh
- package github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com
- web humanoid.sh