Giteaに認可の不備の脆弱性、公開限定トークンで非公開リポジトリのジョブを受け取られるおそれ
Summary
Giteaの組織向けActions runner登録エンドポイントが公開限定のアクセストークンを拒否せず、そのトークンで登録されたrunnerが非公開リポジトリのジョブを受け取れるおそれがあります。影響するのは28.3.0より前のバージョンで、修正版は28.3.0です。すぐに修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Giteaの組織向けActions runner登録エンドポイントが公開限定のアクセストークンを拒否せず、そのトークンで登録されたrunnerが非公開リポジトリのジョブを受け取れるおそれがあります。影響するのは28.3.0より前のバージョンで、修正版は28.3.0です。すぐに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
< 28.3.0→ 28.3.0 |
28.3.0 |
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- 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