CVE-2021-29134
MEDIUM 5.3CVSS 3.1Path Traversal in Gitea
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
- Published
- 15 Mar 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- BIT-gitea-2021-29134GHSA-h3q4-vmw4-cpr5GO-2022-0353
- Sources
- NVDJSONOSV GHSA-h3q4-vmw4-cpr5JSONOSV GO-2022-0353JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gitea | giteacpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:* |
< 1.13.6 | 1.13.6 |
| OSV | Go | code.gitea.io/gitea | < 1.13.6 | 1.13.6 |
References
- https://github.com/go-gitea/gitea/pull/15125/files · Patch, Third Party Advisory, WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.13.6 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29134 · ADVISORY
- https://github.com/go-gitea/gitea · PACKAGE
- https://github.com/go-gitea/gitea/releases · WEB
- https://github.com/advisories/GHSA-h3q4-vmw4-cpr5 · ADVISORY
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 15 Mar 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 16 Mar 2022)