Giteaで公開専用トークンから非公開パッケージのデータが取得される脆弱性
Summary
Giteaの OCI レジストリーで、公開専用のトークンを使うと、非公開パッケージのBlobを公開パッケージへ複製され、だれでもダウンロードできてしまう脆弱性です。28.3.0より前の版が対象で、28.3.0で修正されています。CVSSは9.1で、コンテナーのレイヤーなど非公開のデータが外部に出るおそれがあるため、早めに修正版へ更新してください。
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の OCI レジストリーで、公開専用のトークンを使うと、非公開パッケージのBlobを公開パッケージへ複製され、だれでもダウンロードできてしまう脆弱性です。28.3.0より前の版が対象で、28.3.0で修正されています。CVSSは9.1で、コンテナーのレイヤーなど非公開のデータが外部に出るおそれがあるため、早めに修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
< 28.3.0→ 28.3.0 |
28.3.0 |
Original description The description as published by the source.
The OCI registry's cross-repository blob mount checked the target package against the token's public-only restriction, but checked the source blob only against the full account permissions of the token owner. A public-only token with write:package scope, whose owner can read a private package and write to a public package namespace, could mount a blob of the private package into the public package. The private blob, such as a container layer, could then be downloaded by anyone through the public package.
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