Gitea required approval bypass through team review request removal
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
≥ 1.19.0, < 28.4.0→ 28.4.0 |
28.4.0 |
Original description The description as published by the source.
Removing a team's review request looked up a review by the negated team ID, which for the team with ID 2 is the ID of the built-in Actions user, and marked the review it found as official. In the organization that owns that team, a user who can change the review requests of a pull request could make an approval left by the Actions user count toward the approvals required by branch protection. Merging still required permission to merge. Removing a team review request no longer changes any review.
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