Go Vulnerability Database
GO-2026-6037
Gitea: Denial of Service (CPU & Memory Exhaustion) via O(N^2) String Concatenation in Debian Package Upload in gitea.dev
Details
Gitea: Denial of Service (CPU & Memory Exhaustion) via O(N^2) String Concatenation in Debian Package Upload in gitea.dev
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | gitea.dev | All versions before 1.27.0 (fixed in 1.27.0) |
References
- https://github.com/go-gitea/gitea/security/advisories/GHSA-6hm7-3pwj-22rm
- https://github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31
- https://github.com/go-gitea/gitea/commit/f69e15afe7496cc62e96dab244629c69eb31a7bf
- https://github.com/go-gitea/gitea/pull/38406
- https://github.com/go-gitea/gitea/pull/38426
- https://github.com/go-gitea/gitea/releases/tag/v1.27.0