Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2021-29134

CVE-2021-29134: Path Traversal in Gitea

March 16, 2022 (updated March 21, 2022)

The avatar middleware in Gitea before 1.13.6 allows Directory Traversal via a crafted URL.

References

  • github.com/advisories/GHSA-h3q4-vmw4-cpr5
  • github.com/go-gitea/gitea/pull/15125/files
  • github.com/go-gitea/gitea/releases
  • github.com/go-gitea/gitea/releases/tag/v1.13.6
  • nvd.nist.gov/vuln/detail/CVE-2021-29134

Code Behaviors & Features

Detect and mitigate CVE-2021-29134 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.13.6

Fixed versions

  • 1.13.6

Solution

Upgrade to version 1.13.6 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Source file

go/code.gitea.io/gitea/CVE-2021-29134.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:13 +0000.