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

CVE-2022-27313: Arbitrary file deletion in gitea

May 4, 2022 (updated May 24, 2022)

An arbitrary file deletion vulnerability in Gitea v1.16.3 allows attackers to cause a Denial of Service (DoS) via deleting the configuration file.

References

  • github.com/advisories/GHSA-g7p7-x6w7-w6qg
  • github.com/go-gitea/gitea/pull/19072
  • github.com/go-gitea/gitea/releases/tag/v1.16.4
  • nvd.nist.gov/vuln/detail/CVE-2022-27313

Code Behaviors & Features

Detect and mitigate CVE-2022-27313 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.16.4

Fixed versions

  • 1.16.4

Solution

Upgrade to version 1.16.4 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:15:43 +0000.