CVE-2021-29134 json
Path Traversal in Gitea
published 2022-03-15 4 y ago modified 2026-09-08 2 mo ago also BIT-gitea-2021-29134 , EUVD-2022-1436 , GHSA-h3q4-vmw4-cpr5 , GO-2022-0353
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 74%
- public exploits
- 0
- none known
Summary
The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.
Patch / fix
- go code.gitea.io/gitea 1.13.6
- bitnami gitea 1.13.6
- gitea gitea 1.13.6
- gitea Alpine 3.24, Alpine 3.23, Alpine 3.22 +8 more 1.13.6-r0
alpine advisories ALPINE-CVE-2021-29134
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/go-gitea/gitea#15125 pull request
- github.com/go-gitea/gitea/releases/tag/v1.13.6 release
Exploit prediction
1.49% chance of exploitation in the next 30 days, higher than 74% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.13.6 |
1.13.6 |
| bitnami | gitea | <1.13.6 |
1.13.6 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/go-gitea/gitea/pull/15125/files
web, patch, third-party-advisory, advisory
-
github.com
/go-gitea/gitea/releases/tag/v1.13.6
web, patch, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29134
advisory, web
-
github.com
/go-gitea/gitea
package
-
github.com
/go-gitea/gitea/releases
web
-
github.com
/advisories/GHSA-h3q4-vmw4-cpr5
advisory
Sources
- CVE List CVE-2021-29134
- GitHub Advisory GHSA-h3q4-vmw4-cpr5
- NVD CVE-2021-29134
- OSV BIT-gitea-2021-29134
- OSV GO-2022-0353
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.