Gitea release asset deletion by former writers
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
≥ 1.11.0, < 28.4.0→ 28.4.0 |
28.4.0 |
Original description The description as published by the source.
The web endpoint that removes an attachment skipped the permission check when the request came from the user who had uploaded the attachment, and it was reachable with read access to issues or pull requests. A user who had uploaded a release asset could still delete it after losing write access to the repository. The endpoint now only deletes attachments that the user uploaded and that are not yet linked to an issue, comment or release.
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