Giteaに認可の不備の脆弱性、公開限定トークンで非公開リポジトリのジョブを受け取られるおそれ
概要
Giteaの組織向けActions runner登録エンドポイントが公開限定のアクセストークンを拒否せず、そのトークンで登録されたrunnerが非公開リポジトリのジョブを受け取れるおそれがあります。影響するのは28.3.0より前のバージョンで、修正版は28.3.0です。すぐに修正版へ更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Giteaの組織向けActions runner登録エンドポイントが公開限定のアクセストークンを拒否せず、そのトークンで登録されたrunnerが非公開リポジトリのジョブを受け取れるおそれがあります。影響するのは28.3.0より前のバージョンで、修正版は28.3.0です。すぐに修正版へ更新してください。
影響パッケージ
| パッケージ | 影響を受ける版 → 修正版 | |
|---|---|---|
| GiteaGitea |
28.3.0 未満→ 28.3.0 |
28.3.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Gitea did not reject personal access tokens restricted to public resources (public-only) on the organization Actions runner registration-token endpoint, and the runner registered with the resulting token was not limited to public repositories. Holding only such a token with write:organization that belongs to an owner of a public organization, an attacker could register an organization-level runner and receive jobs of the organization's private repositories that have Actions enabled, including the workflow content, Actions secrets and variables, and a task token with access to the private repository. The issue widens what the restricted token can reach; it gives nothing beyond what the owner's full account can already do.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory blog.gitea.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- REDHAT Red Hat