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

CVE-2022-38795: Gitea erroneous repo clones

August 7, 2023 (updated August 18, 2023)

In Gitea through 1.17.1, repo cloning can occur in the migration function.

References

  • blog.gitea.com/release-of-1.17.2/
  • github.com/advisories/GHSA-8j3v-68w3-3848
  • github.com/go-gitea/gitea/pull/20869
  • github.com/go-gitea/gitea/pull/20892
  • nvd.nist.gov/vuln/detail/CVE-2022-38795

Code Behaviors & Features

Detect and mitigate CVE-2022-38795 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.17.2

Fixed versions

  • 1.17.2

Solution

Upgrade to version 1.17.2 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Source file

go/code.gitea.io/gitea/CVE-2022-38795.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:21 +0000.