Gitea contribution heatmap private activity disclosure to public-only tokens
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
< 28.3.0→ 28.3.0 |
28.3.0 |
Original description The description as published by the source.
GET /api/v1/users/{username}/heatmap computed the contribution heatmap with the repository access of the token owner and ignored the public-only restriction of the access token, unlike the activity feed endpoints. A holder of a user's public-only token could read contribution counts and their 15-minute time buckets that stem from that user's activity in private repositories. Repository names and contents were not disclosed. For public-only tokens the heatmap now only counts activity visible to anonymous users.
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