Description
The Gitea Actions artifact v4 (Twirp) handlers read the whole request body into memory without a size limit. A user who can run a workflow and obtains the runner token of that run could send an oversized request to the artifact service and exhaust the memory of the server, which terminates the Gitea process. The request body is now limited to 1 MiB.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Gitea | Gitea | 1.22.0 – ≤ 28.1.0 | — |
References
- GitHub Security Advisory GHSA-6f9g-7jgm-m5ph vendor-advisory
- Fix: go-gitea/gitea pull request #39818 patch
- Fix backport to release/v28: go-gitea/gitea pull request #39822 patch
- Gitea 28.2.0 release announcement release-notes
- go-gitea/gitea v28.2.0 release release-notes