Gitea hidden organization membership disclosure through the permissions API
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
≥ 1.16.0, < 28.4.0→ 28.4.0 |
28.4.0 |
Original description The description as published by the source.
GET /api/v1/users/{username}/orgs/{org}/permissions only checked that the organization is visible to the caller and then returned the named user's role in it. Any signed-in user could learn whether another user is an owner, admin or member of a public or limited organization, including for members who conceal their membership. The roles are now only returned to the user themselves, to members of the organization and to site administrators.
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