Description
Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.
Problem types
CWE-284: Improper Access Control
CWE-639: Authorization Bypass Through User-Controlled Key
Product status
Any version
Credits
spingARbor
References
github.com/.../gitea/security/advisories/GHSA-rrq5-r9h5-pc7c (GitHub Security Advisory)
github.com/go-gitea/gitea/pull/36344 (GitHub Pull Request #36344)
github.com/go-gitea/gitea/pull/36349 (GitHub Pull Request #36349)
github.com/go-gitea/gitea/releases/tag/v1.25.4 (Gitea v1.25.4 Release)
blog.gitea.com/release-of-1.25.4/ (Gitea v1.25.4 Release Blog Post)