CVE-2022-38795Gitea
Medium 6.5 No auth needed
Follow: this CVE · Gitea · Gitea We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 0.7% probability of exploitation in 30 days · percentile 46
- Auth required
- No
- Published
- Aug 7, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
In Gitea through 1.17.1, repo cloning can occur in the migration function.
What to do
- Apply the vendor's security update for Gitea.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
< 1.17.2 |
1.17.2 |
go get code.gitea.io/gitea@v1.17.2 |
| Go | code.gitea.io/gitea |
< 1.17.2 |
1.17.2 |
go get code.gitea.io/gitea@v1.17.2 |
Per OSV / GitHub Advisories (GHSA-8j3v-68w3-3848, GO-2023-1999). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitea | gitea | ≤ 1.17.1 |
Official sources
References
Links published by the sources. Open them with care.
- blog.gitea.com Release Notes
- github.com Patch Vendor Advisory
- github.com Patch Vendor Advisory